diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-16 16:25:52 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-16 17:34:46 +0900 |
| commit | 659e8a4ee130d968ef6bfb22159fb547e366f969 (patch) | |
| tree | b23dc0036b90526cfe3f1809b4d2396d9a1118bb /crates/shirabe/src/console.rs | |
| parent | 652860a48d0ea5db5f9b20ed98ff69a98d32c656 (diff) | |
| download | php-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/src/console.rs')
0 files changed, 0 insertions, 0 deletions
