From 20a876d44a7f7fe8f5d4cc77eb79a9a359aaf150 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 9 Aug 2026 07:47:48 +0900 Subject: refactor(php-shim): remove shim functions with no callers Co-Authored-By: Claude Opus 5 --- crates/shirabe-php-shim/src/var.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'crates/shirabe-php-shim/src/var.rs') diff --git a/crates/shirabe-php-shim/src/var.rs b/crates/shirabe-php-shim/src/var.rs index 8697097d..af3c1b3b 100644 --- a/crates/shirabe-php-shim/src/var.rs +++ b/crates/shirabe-php-shim/src/var.rs @@ -206,12 +206,6 @@ pub fn loosely_compare(a: &str, b: &str) -> std::cmp::Ordering { } } -pub fn instance_of(_value: &PhpMixed) -> bool { - // TODO(php-runtime): PHP `instanceof` needs the runtime class of the value, which PhpMixed::Object - // does not carry. - todo!() -} - pub fn is_subclass_of(_object_or_class: &PhpMixed, _class_name: &str, _allow_string: bool) -> bool { // TODO(php-runtime): requires runtime class ancestry, which PhpMixed::Object does not carry. todo!() -- cgit v1.3.1-4-g156e