aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/composer/xdebug_handler
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-07-04 03:19:58 +0900
committernsfisis <nsfisis@gmail.com>2026-07-04 16:58:29 +0900
commit3ec1d7d77ee6e41aaee74c4be855a86019e7256e (patch)
tree1071cae2ac135eb18263fbeba99ffe291e22ce9c /crates/shirabe-external-packages/src/composer/xdebug_handler
parent425eeea92e00ecbfccfc0b13dbc1cfb41d09069c (diff)
downloadphp-shirabe-3ec1d7d77ee6e41aaee74c4be855a86019e7256e.tar.gz
php-shirabe-3ec1d7d77ee6e41aaee74c4be855a86019e7256e.tar.zst
php-shirabe-3ec1d7d77ee6e41aaee74c4be855a86019e7256e.zip
fix(xdebug-handler): implement get_skipped_version
The restart-to-disable-xdebug mechanism isn't ported (is_xdebug_active is hardcoded false), so a restart never happens and PHP's self::$skipped stays at its default empty string. Return that directly instead of todo!(), since PlatformRepository::initialize() calls this unconditionally. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-external-packages/src/composer/xdebug_handler')
-rw-r--r--crates/shirabe-external-packages/src/composer/xdebug_handler/xdebug_handler.rs6
1 files changed, 5 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 388d557..7390a8e 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
@@ -10,7 +10,11 @@ impl XdebugHandler {
}
pub fn get_skipped_version() -> Option<String> {
- todo!()
+ // TODO(php-runtime)
+ // The restart-to-disable-xdebug mechanism is not ported (`is_xdebug_active` is
+ // hardcoded `false`), so a restart never happens and `self::$skipped` stays at
+ // its PHP default of `""`.
+ Some(String::new())
}
pub fn get_all_ini_files() -> Vec<String> {