From 91ccd49cf68bca199e7d41fa65a4a3b0d1368127 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 29 Jun 2026 21:56:39 +0900 Subject: feat(php-shim): implement DirectoryIterator in fs shim Give DirectoryIteratorEntry a backing path (mirroring RecursiveIteratorFileInfo) and make directory_iterator enumerate entries, returning Result to match PHP DirectoryIterator's UnexpectedValueException on an unopenable directory. Wire the new Result through DumpCompletionCommand's get_supported_shells. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe-php-shim/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crates/shirabe-php-shim/Cargo.toml') diff --git a/crates/shirabe-php-shim/Cargo.toml b/crates/shirabe-php-shim/Cargo.toml index 4226234..f8092ec 100644 --- a/crates/shirabe-php-shim/Cargo.toml +++ b/crates/shirabe-php-shim/Cargo.toml @@ -19,5 +19,8 @@ sha2.workspace = true twox-hash.workspace = true zip.workspace = true +[dev-dependencies] +tempfile.workspace = true + [lints] workspace = true -- cgit v1.3.1