# Changelog

## Score

- CAI 52 → 50 (-2.8)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

## Lenses

- Code Health 71 → 64 (-6.7)
- Architecture 69 → 69 (+0.0)
- Maturity 41 → 37 (-4.1)
- Readiness 55 → 55 (+0.0)
- Security 75 → 75 (+0.0)

## Resolved (4)

- Inconsistent naming for retrieval operations. The base `Cache` interface uses `fetch` for single item retrieval, while PSR-6 adapters use `getItem`/`getItems`. Furthermore, `CacheProvider` implements `fetch` but also exposes `fetchMultiple`. The mix of `fetch` (Doctrine legacy) and `get`/`getItem` (PSR-6 standard) across related types creates a fragmented API surface where the same intent (retrieving data) is expressed differently depending on the interface level.
- Inconsistent naming for storage operations. `Cache` and `CacheProvider` use `save`, while PSR-6 adapters use `save`/`saveDeferred`. However, `MultiPutCache` uses `saveMultiple` while `MultiGetCache` uses `fetchMultiple`. The inconsistency lies in the verb choice: `save` vs `put` (implied by MultiPutCache name, though method is saveMultiple). More critically, `CacheProvider` has `save` and `saveMultiple`, but `MultiOperationCache` is empty, suggesting a fragmented design where multi-operation capabilities are split across multiple interfaces rather than a unified `MultiCache` interface.
- Semantic ambiguity between flush and delete operations. `CacheProvider` exposes both `flushAll()` and `deleteAll()`, while `ClearableCache` only exposes `deleteAll()`. In caching contexts, 'flush' often implies clearing the cache structure (potentially invalidating keys but keeping the backend alive), while 'delete' might imply removing specific keys or the entire store. Having both on the same class with no clear distinction in naming convention creates confusion about whether they are aliases or distinct operations.
- Typo in constant naming. `STATS_MEMORY_AVAILIABLE` is a misspelling of `STATS_MEMORY_AVAILABLE`. This creates redundancy where consumers might use either, leading to inconsistent codebases.

## New (2)

- Edited copy of a member (12 corresponding lines) (lib/Doctrine/Common/Cache/Psr6/CacheItem.php)
- Edited copy of a member (14 corresponding lines) (lib/Doctrine/Common/Cache/Psr6/CacheItem.php)
