From 8bd02532cd04ee12d7595029c206f3dc5ab9dd96 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 6 Jun 2026 21:22:22 +0900 Subject: chore(shirabe): remove ports of PHP @deprecated APIs Composer does not use its own deprecated APIs internally, so drop their Rust ports: whole deprecated classes, methods, constants, and field. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/src/json/json_file.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'crates/shirabe/src/json/json_file.rs') diff --git a/crates/shirabe/src/json/json_file.rs b/crates/shirabe/src/json/json_file.rs index 0aa44fc..b8372b9 100644 --- a/crates/shirabe/src/json/json_file.rs +++ b/crates/shirabe/src/json/json_file.rs @@ -87,13 +87,6 @@ impl JsonFile { pub const AUTH_SCHEMA: i64 = 3; pub const LOCK_SCHEMA: i64 = 4; - /// @deprecated Use \JSON_UNESCAPED_SLASHES - pub const JSON_UNESCAPED_SLASHES: i64 = 64; - /// @deprecated Use \JSON_PRETTY_PRINT - pub const JSON_PRETTY_PRINT: i64 = 128; - /// @deprecated Use \JSON_UNESCAPED_UNICODE - pub const JSON_UNESCAPED_UNICODE: i64 = 256; - pub const INDENT_DEFAULT: &'static str = " "; /// PHP: __DIR__ . '/../../../res/composer-schema.json' -- cgit v1.3.1