aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/package/loader/json_loader.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-07-20 03:14:31 +0900
committernsfisis <nsfisis@gmail.com>2026-07-20 03:14:31 +0900
commit72e3ec4a52e29ae01187445ba923aed3421af345 (patch)
tree46455ecf3963afbfb4c8b50be32ea4b48af0b2c1 /crates/shirabe/src/package/loader/json_loader.rs
parent5fac1bba14ad5b9e4d2abfa3ca299f88cc1e62bf (diff)
downloadphp-shirabe-72e3ec4a52e29ae01187445ba923aed3421af345.tar.gz
php-shirabe-72e3ec4a52e29ae01187445ba923aed3421af345.tar.zst
php-shirabe-72e3ec4a52e29ae01187445ba923aed3421af345.zip
fix(validating-array-loader): un-ignore test_fund_command by fixing empty check
validate_array judged emptiness via as_array(), which only matches PhpMixed::Array, so a non-empty PhpMixed::List (e.g. a funding array) was misjudged as empty and dropped, diverging from PHP's !count() check. Match both Array and List. The stale ignore reason on test_fund_command no longer applies: init_temp_composer injects packagist:false so no network is reached, and the downloader stack is reqwest-based (no curl shim todo!()). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/package/loader/json_loader.rs')
0 files changed, 0 insertions, 0 deletions