aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/phpstan.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-07-04 22:43:37 +0900
committernsfisis <nsfisis@gmail.com>2026-07-05 00:32:15 +0900
commitb556dbb66123145983df7a62949061029e38f0a3 (patch)
tree49ddeb5a9863278527a0c9aada2820d691553582 /crates/shirabe/src/phpstan.rs
parentae6c32e918e72d3ebaf1302e9ed0c1be6ee36627 (diff)
downloadphp-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/phpstan.rs')
0 files changed, 0 insertions, 0 deletions