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 --- .../symfony/component/console/command/command.rs | 38 +++++++++++----------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'crates/shirabe-external-packages/src/symfony/component/console/command') diff --git a/crates/shirabe-external-packages/src/symfony/component/console/command/command.rs b/crates/shirabe-external-packages/src/symfony/component/console/command/command.rs index 3c18be5..34d1941 100644 --- a/crates/shirabe-external-packages/src/symfony/component/console/command/command.rs +++ b/crates/shirabe-external-packages/src/symfony/component/console/command/command.rs @@ -7,11 +7,11 @@ use shirabe_php_shim::PhpMixed; pub struct Command; impl Command { - pub fn new(name: Option<&str>) -> Self { + pub fn new(_name: Option<&str>) -> Self { todo!() } - pub fn set_name(&mut self, name: &str) -> &mut Self { + pub fn set_name(&mut self, _name: &str) -> &mut Self { todo!() } @@ -19,7 +19,7 @@ impl Command { todo!() } - pub fn set_description(&mut self, description: &str) -> &mut Self { + pub fn set_description(&mut self, _description: &str) -> &mut Self { todo!() } @@ -27,11 +27,11 @@ impl Command { todo!() } - pub fn set_help(&mut self, help: &str) -> &mut Self { + pub fn set_help(&mut self, _help: &str) -> &mut Self { todo!() } - pub fn set_definition(&mut self, definition: PhpMixed) -> &mut Self { + pub fn set_definition(&mut self, _definition: PhpMixed) -> &mut Self { todo!() } @@ -41,26 +41,26 @@ impl Command { pub fn add_argument( &mut self, - name: &str, - mode: Option, - description: &str, - default: PhpMixed, + _name: &str, + _mode: Option, + _description: &str, + _default: PhpMixed, ) -> &mut Self { todo!() } pub fn add_option( &mut self, - name: &str, - shortcut: Option<&str>, - mode: Option, - description: &str, - default: PhpMixed, + _name: &str, + _shortcut: Option<&str>, + _mode: Option, + _description: &str, + _default: PhpMixed, ) -> &mut Self { todo!() } - pub fn set_aliases(&mut self, aliases: &[String]) -> &mut Self { + pub fn set_aliases(&mut self, _aliases: &[String]) -> &mut Self { todo!() } @@ -68,7 +68,7 @@ impl Command { todo!() } - pub fn set_hidden(&mut self, hidden: bool) -> &mut Self { + pub fn set_hidden(&mut self, _hidden: bool) -> &mut Self { todo!() } @@ -78,13 +78,13 @@ impl Command { pub fn run( &mut self, - input: &mut dyn InputInterface, - output: &mut dyn OutputInterface, + _input: &mut dyn InputInterface, + _output: &mut dyn OutputInterface, ) -> anyhow::Result { todo!() } - pub fn get_helper(&self, name: &str) -> PhpMixed { + pub fn get_helper(&self, _name: &str) -> PhpMixed { todo!() } -- cgit v1.3.1