sebastianbergmann/object-reflector
63.2
Adequate · 17 November 2026
455
lines of production code
PHP
primary language
5
measurements over time
What this system is
Behavioural changes
1 commit (0 fixes) modifying tools
A change to existing behaviour in tools — 1 commit, 4 files: “Update dependency php-cs-fixer/shim to ^3.95.31”. Also in this area: 2 commits (0 fixes) modifying tools.
tools/.php-cs-fixer · medium confidence · unverified
135 commits (0 fixes) modifying tools
A change to existing behaviour in tools — 135 commits, 4 files: “Update tools”; “Use PHPStan instead of Psalm”; “\* Install PHPStan using Composer in order to be able to use phpstan/phpstan-strict-rules and tomasvotruba/type-coverage \* Configure phpstan/phpstan-strict-rules, tomasvotruba/type-coverage, and ergebnis/phpstan-rules \* Update PHPStan configuration \* Put Phive binary under version control and manage it through "ant update-tools"”; and 4 more.
tools · medium confidence · unverified
Automated release note extraction for tagged releases
A new build script, extract-release-notes.php, has been added to the build directory to automate the generation of release notes. When invoked with a specific version tag, this script parses the project's ChangeLog.md file to extract the corresponding section, enabling the CI/CD pipeline to automatically create release artifacts when a tag is pushed.
build · high confidence
Modernized build automation and static analysis configuration
The project has replaced Travis CI with GitHub Actions for continuous integration and switched from Psalm to PHPStan (configured at level 10 with strict rules) for static analysis. Build tooling is now managed via Phive, with Composer and PHP-CS-Fixer installed in the \tools/\ directory, and the legacy \.php\_cs\ file has been replaced by \.php-cs-fixer.dist.php\. Additionally, a \SECURITY.md\ file has been added to direct vulnerability reports to coordinated disclosure, and archive exports are now configured via \.gitattributes\ to exclude development artifacts like tests and build tools.
(repo-wide) · high confidence
ObjectReflector now uses array casting and caching for property reflection
The ObjectReflector class has been refactored to replace the Reflection API with a direct cast of the object to an array, significantly improving performance. It now correctly handles mangled property names (private and protected) by parsing null-byte separators and caching unmangled names per class. The method has been renamed from getAttributes to getProperties, and the class is now final with strict types enabled.
src · high confidence
Test coverage
Added test fixtures for advanced PHP reflection scenarios; Added unit tests for ObjectReflector edge cases; Removed legacy ObjectReflector test suite.
Dependencies
Updated PHPStan static analysis tooling to version 2.2.16
The \tools/.phpstan\ directory has been updated to use PHPStan version 2.2.16, along with \phpstan-strict-rules\ version 2.0.12 and \ergebnis/phpstan-rules\ version 2.14.0. This update ensures the static analysis tooling is current with the latest rule sets and bug fixes, improving the accuracy and coverage of code quality checks for the project. Also in this area: 1 commit (0 fixes) modifying tools, tools/.phpstan/vendor/phpstan/phpstan-strict-rules; 2 commits (0 fixes) modifying tools, tools/.phpstan/vendor/ergebnis/phpstan-rules.
tools/.phpstan · medium confidence · unverified
Upgrade to PHPUnit 13 and PHP 8.4; add PHPStan tooling
The project now requires PHP 8.4 or higher and upgrades the test framework from PHPUnit 6 to PHPUnit 13.3.6. Additionally, a dedicated PHPStan static analysis setup is introduced under tools/.phpstan, installing PHPStan 2.2.16 along with the extension-installer, strict-rules, and ergebnis/phpstan-rules packages to enable automated static analysis.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 63.2 → 63.2 (0.0)
- Rubric changed (rubric-2026.11.2 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 100.0 → 100.0 (0.0)
- Architecture 69.0 → 69.0 (0.0)
- Maturity 48.9 → 48.9 (0.0)
- Readiness 79.1 → 79.1 (0.0)
- Security 81.2 → 81.2 (0.0)
Findings
- No change — the same findings as the prior survey.
Changes since last survey
- 14 commits — 14 feature/other, 0 fixes
By area
- tools/.phpstan — 6 commits
- (repo) — 3 commits
- (root) — 2 commits
- tools/.php-cs-fixer — 2 commits
- tools/composer — 1 commit
Notable commits
- change: Manage PHP-CS-Fixer with Composer instead of Phive
- change: Merge branch '5.0'
- change: Merge branch '5.0'
- change: Merge branch '5.0'
- change: Remove stale entry
- change: Update dependency ergebnis/phpstan-rules to ^2.17.1
- change: Update dependency ergebnis/phpstan-rules to ^2.17.1
- change: Update dependency php-cs-fixer/shim to ^3.95.31
- change: Update dependency phpstan/phpstan to ^2.3.6
- change: Update dependency phpstan/phpstan-phpunit to ^2.1.2
- change: Update dependency phpunit/phpunit to ^13.4.7
- change: Update tools
- change: Use phpstan/phpstan-deprecation-rules
- change: Use phpstan/phpstan-phpunit
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
sebastianbergmann/object-reflector was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 17 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit edd46d37f182632bcfd986877a8129d7f3c344c6 — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.84+preprod-d645ca9bbedd.