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

KarpelesLab / goro / 25771801761
13%

Build:
DEFAULT BRANCH: master
Ran 13 May 2026 01:10AM UTC
Jobs 1
Files 398
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

13 May 2026 01:08AM UTC coverage: 11.374% (+0.5%) from 10.892%
25771801761

push

github

MagicalTux
vm: user consts, typed return, destructure, var-vars, compound-expr, inc-dec non-local

Closes six AST fall-back triggers, each via the established
OpClassConst / OpTryFinally + OP_REFRESH_SLOTS pattern (and IsSlotSafe
extensions where needed):

* User-defined constants (PHP_INT_MAX, namespaced, define()-set, etc.)
  go through OpClassConst — resolution lives in the AST.
* Typed return (\`function f(): int { return \$x; }\`) AST-delegates
  the runReturn so coercion runs. Adjusts compile-func.go to stop
  skipping VM compile for return-typed closures.
* Short list / list() destructuring: \`[\$a, \$b] = \$arr\` and the
  keyword form both AST-delegate via the assign helper.
* Variable variables: \`\$\$name\` / \`\${\$expr}\` read/write.
* Compound assign as expression: \`\$y = (\$x += 1) * 2\` re-loads
  \$x after the native OpOpAssignLocal.
* ++/-- on non-variable targets: \$obj->prop++, \$arr[k]++, Foo::\$bar++
  AST-delegate via the assign helper; IsSlotSafe now flags T_INC/T_DEC
  alongside opD.write writes.

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

63 of 83 new or added lines in 5 files covered. (75.9%)

7 existing lines in 3 files now uncovered.

13116 of 115316 relevant lines covered (11.37%)

1949.91 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
76.82
-3.01% core/vm/vmcompiler/emit_stmt.go
5
52.22
0.78% core/compiler/dispatch.go
2
85.91
2.3% core/vm/vmcompiler/emit_expr.go

Coverage Regressions

Lines Coverage ∆ File
4
40.56
-1.13% core/phpctx/context-func.go
2
76.82
-3.01% core/vm/vmcompiler/emit_stmt.go
1
85.91
2.3% core/vm/vmcompiler/emit_expr.go
Jobs
ID Job ID Ran Files Coverage
1 25771801761.1 13 May 2026 01:10AM UTC 398
11.37
GitHub Action Run
Source Files on build 25771801761
  • Tree
  • List 398
  • Changed 25
  • Source Changed 5
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25771801761
  • 155c6b5e on github
  • Prev Build on master (#25757496368)
  • Next Build on master (#25772047510)
  • 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