diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-06 21:22:22 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-06 21:33:05 +0900 |
| commit | 8bd02532cd04ee12d7595029c206f3dc5ab9dd96 (patch) | |
| tree | 5f9897bfefcb9a503d92560311c4d95ee620a025 /crates/shirabe/src/self_update | |
| parent | c0b743c8d75813003756a72d2fdd110de8368b5f (diff) | |
| download | php-shirabe-8bd02532cd04ee12d7595029c206f3dc5ab9dd96.tar.gz php-shirabe-8bd02532cd04ee12d7595029c206f3dc5ab9dd96.tar.zst php-shirabe-8bd02532cd04ee12d7595029c206f3dc5ab9dd96.zip | |
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) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/self_update')
| -rw-r--r-- | crates/shirabe/src/self_update/versions.rs | 2 |
1 files changed, 0 insertions, 2 deletions
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<String>, http_downloader: std::rc::Rc<std::cell::RefCell<HttpDownloader>>, config: std::rc::Rc<std::cell::RefCell<Config>>, channel: Option<String>, @@ -36,7 +35,6 @@ impl Versions { http_downloader: std::rc::Rc<std::cell::RefCell<HttpDownloader>>, ) -> Self { Self { - channels: Self::CHANNELS.iter().map(|s| s.to_string()).collect(), http_downloader, config, channel: None, |
