From a40d5170b75a793badc7dbc59e6b1983c37fa7af Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 11 Jun 2026 19:54:41 +0900 Subject: feat(php-shim): implement trivial PHP-compatible stub functions Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/src/util/platform.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'crates/shirabe/src/util') diff --git a/crates/shirabe/src/util/platform.rs b/crates/shirabe/src/util/platform.rs index 6a0c2d0..08f5007 100644 --- a/crates/shirabe/src/util/platform.rs +++ b/crates/shirabe/src/util/platform.rs @@ -425,9 +425,4 @@ impl Platform { "/dev/null".to_string() } - - /// PHP: rename($from, $to) — wrap the std rename so callers can use Platform::rename. - pub fn rename(from: &str, to: &str) -> bool { - std::fs::rename(from, to).is_ok() - } } -- cgit v1.3.1