diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-18 01:57:02 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-18 01:57:02 +0900 |
| commit | 90e4f59961a3bfacc37ae4e1a6a6c2b86720bde4 (patch) | |
| tree | b42ce101d004716f94991ab5b2cbb3f23949b96d /scripts/linters/src/Linters/NoExceptionDowncast.php | |
| parent | 6aeda8b237fcbf7a56ca0e8c0fff415477d31d22 (diff) | |
| download | php-shirabe-90e4f59961a3bfacc37ae4e1a6a6c2b86720bde4.tar.gz php-shirabe-90e4f59961a3bfacc37ae4e1a6a6c2b86720bde4.tar.zst php-shirabe-90e4f59961a3bfacc37ae4e1a6a6c2b86720bde4.zip | |
fix(cache): allow underscores in metadata cache keys
Cache::read()/write() rewrite every character outside the allowlist to
"-", so a package name containing "_" was stored and looked up under a
file name Composer never writes: the repository metadata cache was never
hit for those packages, and "vendor/foo_bar" collided with
"vendor/foo-bar". With no cached copy there is no last-modified date to
send either, so a degraded repository resolved such packages as not
found instead of serving the cached metadata.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'scripts/linters/src/Linters/NoExceptionDowncast.php')
0 files changed, 0 insertions, 0 deletions
