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

voku / Simple-PHP-Code-Parser / 31049040951 / 1
87%
master: 87%

Build:
DEFAULT BRANCH: master
Ran 05 Aug 2026 09:32PM UTC
Files 24
Run time 2s
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

05 Aug 2026 09:28PM UTC coverage: 85.999% (+2.6%) from 83.369%
31049040951.1

push

github

moellekenl
Prepare 0.22.2 release with BC regression coverage

Document the behaviour changes since 0.22.1 in the changelog and add the
tests that prove nothing else changed.

The behaviour delta was measured by diffing the full parsed model of a
433-file corpus (synthetic syntax fixtures, nikic/php-parser and
phpdocumentor) between 0.22.1 and HEAD. Exactly three changes showed up,
all of them intended:

- reflected property/parameter types are now consistently fully
  qualified (`\Psr\Container\ContainerInterface` instead of
  `Psr\Container\ContainerInterface`)
- enum cases no longer leak into `PHPEnum::$constants`
- `PHPEnum::$is_final` / `$is_abstract` / `$is_anonymous` are no longer
  `null` for enums that cannot be autoloaded

New tests:

- ReflectionTypeFormattingRegressionTest: pins the rendered type strings
  for the AST path and the reflection path and asserts they agree, plus
  the no-autoload guarantee
- PublicApiSurfaceTest: snapshot of every public property and method, so
  a removal or an incompatible signature change fails the build
- ModelInvariantsRegressionTest: parses the whole library and every
  fixture and checks the model invariants, including that class-like
  types are always fully qualified
- ParserEntryPointsTest: end-to-end coverage of getAstFromFile(),
  getFileInfoFromFile(), the container setters and getFunctionsInfo(),
  which had no test before
- PHPEnumRegressionTest / AutoloadSafetyRegressionTest: extended to all
  three enum read paths and to the shared autoload guard

All new tests fail against 0.22.1 and pass on both nikic/php-parser v4
and v5.

Also widen the extractHooksFromReflection() array key type, which
phpstan rejected on PHP 8.4 because getHooks() is keyed by name.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

2027 of 2357 relevant lines covered (86.0%)

24.72 hits per line

Source Files on job 31049040951.1
  • Tree
  • List 24
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 31049040951
  • 53f1b508 on github
  • Prev Job for on master (#31046109447.6)
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