• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

KarpelesLab / goro / 24646382524
13%

Build:
DEFAULT BRANCH: master
Ran 20 Apr 2026 03:03AM UTC
Jobs 1
Files 371
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Apr 2026 03:01AM UTC coverage: 1.955%. Remained the same
24646382524

push

github

MagicalTux
compile-clone: keep readonly enforcement for props initialized mid-clone-with

clone_with_012 expects the second clone-with in

  clone($f, ['foo' => ..., 'bar' => ...])

to throw "Cannot modify readonly property Clazz::\$bar" because \$foo's
set hook also initializes \$bar during the clone-with pass, making \$bar
readonly by the time the explicit 'bar' => ... update fires.

Previous code unconditionally called UnmarkReadonlyInit before each
ObjectSet, which erased the flag set by the hook and let the second
write through. PHP only allows clone-with to override readonly props
that were already initialized BEFORE clone-with started (by __clone()
or the original object).

Fix: snapshot the set of readonly properties that are already initialized
when we enter the apply loop, and only unmark those. Anything that
becomes initialized during the same pass stays protected.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

0 of 15 new or added lines in 1 file covered. (0.0%)

2188 of 111934 relevant lines covered (1.95%)

70.37 hits per line

Uncovered Changes

Lines Coverage ∆ File
15
0.0
0.0% core/compiler/compile-clone.go
Jobs
ID Job ID Ran Files Coverage
1 24646382524.1 20 Apr 2026 03:03AM UTC 371
1.95
GitHub Action Run
Source Files on build 24646382524
  • Tree
  • List 371
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24646382524
  • 9e7f56d6 on github
  • Prev Build on master (#24646340404)
  • Next Build on master (#24646567792)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc