aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-rpc/php/guards/Composer/Cache.php
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-16 16:25:52 +0900
committernsfisis <nsfisis@gmail.com>2026-08-16 17:34:46 +0900
commit659e8a4ee130d968ef6bfb22159fb547e366f969 (patch)
treeb23dc0036b90526cfe3f1809b4d2396d9a1118bb /crates/shirabe-php-rpc/php/guards/Composer/Cache.php
parent652860a48d0ea5db5f9b20ed98ff69a98d32c656 (diff)
downloadphp-shirabe-659e8a4ee130d968ef6bfb22159fb547e366f969.tar.gz
php-shirabe-659e8a4ee130d968ef6bfb22159fb547e366f969.tar.zst
php-shirabe-659e8a4ee130d968ef6bfb22159fb547e366f969.zip
fix(php-shim): fail RecursiveIteratorFileInfo::get_size on a failed stat
This is the type Filesystem::directory_size() actually iterates, and it swallowed a failed stat as 0 the same way. PHP's iterator yields \SplFileInfo there, so raise the same \RuntimeException it would. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-php-rpc/php/guards/Composer/Cache.php')
0 files changed, 0 insertions, 0 deletions