aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-external-packages/src')
-rw-r--r--crates/shirabe-external-packages/src/composer/xdebug_handler/xdebug_handler.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/crates/shirabe-external-packages/src/composer/xdebug_handler/xdebug_handler.rs b/crates/shirabe-external-packages/src/composer/xdebug_handler/xdebug_handler.rs
index 7390a8e6..01f8eb78 100644
--- a/crates/shirabe-external-packages/src/composer/xdebug_handler/xdebug_handler.rs
+++ b/crates/shirabe-external-packages/src/composer/xdebug_handler/xdebug_handler.rs
@@ -18,6 +18,11 @@ impl XdebugHandler {
}
pub fn get_all_ini_files() -> Vec<String> {
- todo!()
+ // TODO(php-runtime)
+ // No XdebugHandler is ever constructed (`self::$name` stays null) so the
+ // COMPOSER_ORIG_INIS env lookup is skipped, and without a PHP runtime
+ // `php_ini_loaded_file()` is `false` and `php_ini_scanned_files()` is `false`,
+ // so PHP would return `[(string) false]` = `[""]`.
+ vec![String::new()]
}
}