diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-21 17:29:53 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-21 17:29:53 +0900 |
| commit | 277dc4065d2eb0d6621a6aa56a299a0d2369caf7 (patch) | |
| tree | a93592f8b9e35204ce56a6f325b550c23e87e4ac /crates/shirabe-php-shim/src/filter.rs | |
| parent | 84fe6ac6977f15cbec85cbc9f773567742a7fb87 (diff) | |
| download | php-shirabe-277dc4065d2eb0d6621a6aa56a299a0d2369caf7.tar.gz php-shirabe-277dc4065d2eb0d6621a6aa56a299a0d2369caf7.tar.zst php-shirabe-277dc4065d2eb0d6621a6aa56a299a0d2369caf7.zip | |
refactor(autoload): drop dead APCu cache from ClassLoader
apcu_fetch/apcu_add only ran when apcuPrefix was non-null, but
Composer never calls setApcuPrefix on the loaders it instantiates
itself; the prefix is only emitted into the generated target-project
autoload_real.php. So the cache branches were unreachable in Shirabe's
execution paths. Remove the apcu shim and the now-dead lookups.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-php-shim/src/filter.rs')
0 files changed, 0 insertions, 0 deletions
