aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/git.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-06 21:22:22 +0900
committernsfisis <nsfisis@gmail.com>2026-06-06 21:33:05 +0900
commit8bd02532cd04ee12d7595029c206f3dc5ab9dd96 (patch)
tree5f9897bfefcb9a503d92560311c4d95ee620a025 /crates/shirabe/src/util/git.rs
parentc0b743c8d75813003756a72d2fdd110de8368b5f (diff)
downloadphp-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/util/git.rs')
-rw-r--r--crates/shirabe/src/util/git.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/shirabe/src/util/git.rs b/crates/shirabe/src/util/git.rs
index b2438c7..7e9619c 100644
--- a/crates/shirabe/src/util/git.rs
+++ b/crates/shirabe/src/util/git.rs
@@ -135,8 +135,7 @@ impl Git {
/// @param callable|array<callable> $commandCallable
/// @param mixed $commandOutput the output will be written into this var if passed by ref
/// if a callable is passed it will be used as output handler
- /// @deprecated Use runCommands with placeholders instead of callbacks for simplicity
- pub fn run_command(
+ fn run_command(
&mut self,
command_callable: Vec<Box<dyn Fn(&str) -> Vec<String>>>,
url: &str,