# Changelog

## Score

- CAI 50 → 48 (-2.0)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

## Lenses

- Code Health 35 → 34 (-1.3)
- Architecture 89 → 89 (-0.0)
- Maturity 56 → 48 (-8.1)
- Readiness 58 → 64 (+6.1)
- Security 94 → 92 (-2.4)

## Resolved (35)

- Concentrated knowledge decay
- Duplicate intent for checking module existence. `has` and `hasModule` both check for the presence of a child module, differing only in an extra `checkInstance` parameter in `has`, which suggests `has` is a more generic or legacy alias.
- Duplicate intent for retrieving a child module by ID. `getModule` and `get` appear to perform the same lookup operation with slightly different parameter naming conventions (`load` vs `throwException`), creating confusion about which method to use for module resolution.
- Low cohesion: Session (LCOM4 5) (framework/web/Session.php)
- Members sharing a duplicated core (4 members, 50+ identical tokens) (framework/db/cubrid/QueryBuilder.php)
- Members sharing a duplicated core (4 members, 50+ identical tokens) (framework/db/cubrid/QueryBuilder.php)
- Most significant orphaned file (framework/helpers/BaseConsole.php)
- Most significant orphaned file (framework/helpers/BaseFileHelper.php)
- Most significant orphaned file (framework/widgets/ActiveField.php)
- Off-boarding risk: anonymized user #1
- Orphaned file (framework/base/Security.php)
- Orphaned file (framework/caching/Cache.php)
- Orphaned file (framework/db/ArrayExpression.php)
- Orphaned file (framework/db/ColumnSchema.php)
- Orphaned file (framework/db/Migration.php)
- Orphaned file (framework/db/oci/QueryBuilder.php)
- Orphaned file (framework/db/sqlite/QueryBuilder.php)
- Orphaned file (framework/grid/GridView.php)
- Orphaned file (framework/helpers/BaseInflector.php)
- Orphaned file (framework/i18n/GettextMoFile.php)
- …and 15 more

## New (36)

- Dependency hygiene PARTLY measured — Composer dependencies read, dependency currency not (Packagist unreachable)
- Further orphaned files (smaller)
- Low cohesion: Session (LCOM4 6) (framework/web/Session.php)
- Members sharing a duplicated core (4 members, 50+ identical tokens) (framework/db/cubrid/QueryBuilder.php)
- Members sharing a duplicated core (4 members, 50+ identical tokens) (framework/db/cubrid/QueryBuilder.php)
- MultipartFormDataParser.getMimeParameter (cognitive 61) (framework/web/MultipartFormDataParser.php)
- MultipartFormDataParser.getMimeParameter (cyclomatic 31) (framework/web/MultipartFormDataParser.php)
- No assertions (declared): testBindValuesSupportsDeprecatedPDOCastingFormat (tests/framework/db/CommandTest.php)
- No assertions (declared): testCopyDirWithSameName (tests/framework/helpers/FileHelperTest.php)
- No assertions (declared): testDelayedInitializationOfSubArray (tests/framework/di/ContainerTest.php)
- No assertions (declared): testInitFixtures (tests/framework/db/QueryBuilderTest.php)
- No assertions (declared): testInitFixtures (tests/framework/db/oci/QueryBuilderTest.php)
- No assertions (declared): testLegalValuesForFindByCondition (tests/framework/db/ActiveRecordTest.php)
- No assertions (declared): testMinimumWidth (tests/framework/console/widgets/TableTest.php)
- No assertions (declared): testRegisterClientScript (tests/framework/widgets/ActiveFormTest.php)
- No assertions (declared): testTransactionIsolation (tests/framework/db/ConnectionTest.php)
- No assertions (declared): testTransactionIsolation (tests/framework/db/oci/ConnectionTest.php)
- No assertions (declared): testTransactionIsolation (tests/framework/db/pgsql/ConnectionTest.php)
- No assertions (declared): testTransactionIsolation (tests/framework/db/sqlite/ConnectionTest.php)
- No assertions: testFindModelJoinWith (tests/framework/validators/UniqueValidatorTest.php)
- …and 16 more

## Changes since last survey

- 15 commits — 5 feature/other, 10 fixes

## By area

- framework/CHANGELOG.md — 6 commits
- tests/framework — 4 commits
- (root) — 1 commit
- .github/workflows — 1 commit
- docs/guide — 1 commit
- framework/db — 1 commit
- framework/web — 1 commit

## Notable commits

- fix: Fix #14402 by matching the gettext MO context exactly (#21113)
- fix: Fix #20766: Fix `@param` annotation for `$offset` in `yii\db\ArrayExpression::offsetSet()`, fix `yii\db\ArrayExpression::offsetSet()` to append when `$offset` is `null`
- fix: Fix #21068,  Fix #21098: PHP 8.6 fixes in session and cache
- fix: Fix #21072: Use the full 64-bit keyspace for PostgreSQL advisory lock keys in `PgsqlMutex`
- fix: Fix #21073: Fix `MultipartFormDataParser` boundary extraction when `Content-Type` has additional parameters
- fix: Fix #21074: Fix Gettext PO file escaping of backslashes and parsing of escaped quotes
- fix: Fix #21124: Multiple type corrections in PHPDoc annotations
- fix: Fix #21131: Reject non-string tokens in `yii\web\User::loginByAccessToken()` before the identity lookup, hardening against type-juggling
- fix: Fix PHPStan level 4 errors in tests (#21135)
- fix: Fix calls for PHP `< 8.1` in `ReleaseControllerTest` (#21130)
- change: Bump `rector/rector` from 2.6.7 to 2.8.3 and `mspirkov/yii2-rector` from 0.1.3 to 0.2.1 (#21129)
- change: Restore `session.use_strict_mode` after session tests. (#21133)
- change: Verify the rollback that testTransactionShortcutException never checked (#21134)
- change: ci: add OpenSSF Scorecard workflow, bump zizmor to v0.8.0, and add Supply-Chain Security section. (#21128)
- change: migrate to the official phpMyAdmin Docker image (#21125)

## Architecture

- Unchanged — 0 containers · 1 contexts · 0 edges
