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

KarpelesLab / goro / 24646820827
13%

Build:
DEFAULT BRANCH: master
Ran 20 Apr 2026 03:21AM 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:19AM UTC coverage: 1.954%. Remained the same
24646820827

push

github

MagicalTux
compile-clone: accept single-alias refs in clone-with property array

clone_with_013.phpt builds the with-array as

    \$with = ['x' => &\$ref];

clones once (which legitimately fails with "Cannot assign by reference
when cloning with updated properties"), then unsets \$ref and clones
again. The second clone is expected to succeed — PHP treats a
reference-typed array entry whose inner has dropped back to a single
alias as an ordinary value.

goro kept rejecting the second clone because IsRef() still returned
true after the unset (we don't auto-unref a surviving alias). Add
ZVal.AliasCount() so the clone-with guard can distinguish a truly
multi-aliased reference from the phantom-ref-of-one state, and only
throw for the multi-alias case.

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

0 of 18 new or added lines in 2 files covered. (0.0%)

107 existing lines in 2 files now uncovered.

2188 of 111973 relevant lines covered (1.95%)

70.35 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
0.0
0.0% core/compiler/compile-clone.go
8
7.88
-0.27% core/phpv/zval.go

Coverage Regressions

Lines Coverage ∆ File
54
0.0
0.0% core/compiler/compile-clone.go
53
7.88
-0.27% core/phpv/zval.go
Jobs
ID Job ID Ran Files Coverage
1 24646820827.1 20 Apr 2026 03:21AM UTC 371
1.95
GitHub Action Run
Source Files on build 24646820827
  • Tree
  • List 371
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24646820827
  • 51cd7c17 on github
  • Prev Build on master (#24646761379)
  • Next Build on master (#24646869765)
  • 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