# Changelog

## Score

- CAI 67 → 62 (-4.9)
- Rubric changed (rubric-2026.10.1 → rubric-2026.10.5) — scores are not directly comparable.

## Lenses

- Code Health 71 → 75 (+4.5)
- Architecture 69 → 69 (+0.0)
- Maturity 61 → 49 (-11.9)
- Readiness 78 → 79 (+1.1)
- Security 89 → 89 (+0.0)

## New (2)

- Ambiguous Naming/Overlap: `globalVariables`, `superGlobalVariables`, and `superGlobalArrays` are semantically overlapping or unclear. In PHP, `$_GET`, `$_POST`, etc., are superglobals. It is unclear if `superGlobalVariables` returns the same data as `superGlobalArrays` or if `globalVariables` includes non-super globals. The distinction between 'Variables', 'Global Variables', and 'Super Global Arrays' is not immediately obvious from the names alone, suggesting potential duplication of intent or unclear domain boundaries.
- Redundant Data Access: The `Snapshot` class already exposes the raw data (as arrays) for constants, global variables, and ini settings. The `CodeExporter` class duplicates this intent by providing methods that take a `Snapshot` and return strings (likely serialized code). This creates two different ways to access the same underlying state: one for inspection (Snapshot) and one for export/code generation (CodeExporter), but the naming convention in CodeExporter mirrors Snapshot's getters too closely, causing confusion about whether one should use Snapshot for data or CodeExporter for code.

## Changes since last survey

- 8 commits — 8 feature/other, 0 fixes

## By area

- tools/.phpstan — 4 commits
- (root) — 3 commits
- .github/workflows — 1 commit

## Notable commits

- change: Update PHPStan packages
- change: Update dependency ergebnis/phpstan-rules to ^2.14.2
- change: Update dependency phpstan/phpstan to ^2.2.17
- change: Update dependency phpstan/phpstan to ^2.3.1
- change: Update dependency phpunit/phpunit to ^13.4.1
- change: Update dependency phpunit/phpunit to ^13.4.2
- change: Update dependency phpunit/phpunit to ^13.4.3
- change: Update shivammathur/setup-php action to v2.40.0
