diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-07-04 22:43:37 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-07-05 00:32:15 +0900 |
| commit | b556dbb66123145983df7a62949061029e38f0a3 (patch) | |
| tree | 49ddeb5a9863278527a0c9aada2820d691553582 /crates/shirabe/src/installer/binary_presence_interface.rs | |
| parent | ae6c32e918e72d3ebaf1302e9ed0c1be6ee36627 (diff) | |
| download | php-shirabe-b556dbb66123145983df7a62949061029e38f0a3.tar.gz php-shirabe-b556dbb66123145983df7a62949061029e38f0a3.tar.zst php-shirabe-b556dbb66123145983df7a62949061029e38f0a3.zip | |
fix(autoload-generator): read exclude-from-classmap/classmap as PhpMixed::Array
parse_autoloads_type stores exclude-from-classmap and classmap as
PhpMixed::Array (string-keyed), but dump()/create_loader() read them
with as_list(), which only matches PhpMixed::List and thus always
returned None. exclude-from-classmap patterns declared by vendor
packages (e.g. symfony/service-contracts' /Test/) were consequently
never excluded from the generated classmap. Switched both call sites
to as_array()/.values(), matching the already-correct usage earlier in
the same function.
Diffstat (limited to 'crates/shirabe/src/installer/binary_presence_interface.rs')
0 files changed, 0 insertions, 0 deletions
