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/self_update/versions.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'crates/shirabe/src/self_update') diff --git a/crates/shirabe/src/self_update/versions.rs b/crates/shirabe/src/self_update/versions.rs index 88b0a45..c8c3f54 100644 --- a/crates/shirabe/src/self_update/versions.rs +++ b/crates/shirabe/src/self_update/versions.rs @@ -12,7 +12,6 @@ use shirabe_php_shim::{ }; pub struct Versions { - pub channels: Vec, http_downloader: std::rc::Rc>, config: std::rc::Rc>, channel: Option, @@ -36,7 +35,6 @@ impl Versions { http_downloader: std::rc::Rc>, ) -> Self { Self { - channels: Self::CHANNELS.iter().map(|s| s.to_string()).collect(), http_downloader, config, channel: None, -- cgit v1.3.1