From 748e741f740ac46ec40e42679aba3b07927709c0 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 17 May 2026 15:08:03 +0900 Subject: chore: cargo clippy --fix --- .../src/symfony/component/console/application.rs | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'crates/shirabe-external-packages/src/symfony/component/console/application.rs') diff --git a/crates/shirabe-external-packages/src/symfony/component/console/application.rs b/crates/shirabe-external-packages/src/symfony/component/console/application.rs index f9495bb..bc64521 100644 --- a/crates/shirabe-external-packages/src/symfony/component/console/application.rs +++ b/crates/shirabe-external-packages/src/symfony/component/console/application.rs @@ -6,19 +6,19 @@ use shirabe_php_shim::PhpMixed; pub struct Application; impl Application { - pub fn new(name: &str, version: &str) -> Self { + pub fn new(_name: &str, _version: &str) -> Self { todo!() } pub fn run( &mut self, - input: Option<&mut dyn InputInterface>, - output: Option<&mut dyn OutputInterface>, + _input: Option<&mut dyn InputInterface>, + _output: Option<&mut dyn OutputInterface>, ) -> anyhow::Result { todo!() } - pub fn set_name(&mut self, name: &str) { + pub fn set_name(&mut self, _name: &str) { todo!() } @@ -26,7 +26,7 @@ impl Application { todo!() } - pub fn set_version(&mut self, version: &str) { + pub fn set_version(&mut self, _version: &str) { todo!() } @@ -34,19 +34,19 @@ impl Application { todo!() } - pub fn add(&mut self, command: PhpMixed) -> Option { + pub fn add(&mut self, _command: PhpMixed) -> Option { todo!() } - pub fn get(&self, name: &str) -> anyhow::Result { + pub fn get(&self, _name: &str) -> anyhow::Result { todo!() } - pub fn set_auto_exit(&mut self, auto_exit: bool) { + pub fn set_auto_exit(&mut self, _auto_exit: bool) { todo!() } - pub fn set_catch_exceptions(&mut self, catch_exceptions: bool) { + pub fn set_catch_exceptions(&mut self, _catch_exceptions: bool) { todo!() } @@ -54,7 +54,7 @@ impl Application { todo!() } - pub fn set_helper_set(&mut self, helper_set: PhpMixed) { + pub fn set_helper_set(&mut self, _helper_set: PhpMixed) { todo!() } @@ -66,11 +66,11 @@ impl Application { todo!() } - pub fn find(&self, name: &str) -> anyhow::Result { + pub fn find(&self, _name: &str) -> anyhow::Result { todo!() } - pub fn all(&self, namespace: Option<&str>) -> Vec { + pub fn all(&self, _namespace: Option<&str>) -> Vec { todo!() } @@ -80,8 +80,8 @@ impl Application { pub fn set_default_command( &mut self, - command_name: &str, - is_single_command: bool, + _command_name: &str, + _is_single_command: bool, ) -> &mut Self { todo!() } -- cgit v1.3.1