From f31b101ce1e921a026ba234b1f0a83b0392bc118 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 20 May 2026 08:33:49 +0900 Subject: fix(compile): fix all remaining compile errors Co-Authored-By: Claude Opus 4.7 (1M context) --- crates/shirabe/src/command/depends_command.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/shirabe/src/command/depends_command.rs') diff --git a/crates/shirabe/src/command/depends_command.rs b/crates/shirabe/src/command/depends_command.rs index 1cfcc04..b5901c1 100644 --- a/crates/shirabe/src/command/depends_command.rs +++ b/crates/shirabe/src/command/depends_command.rs @@ -23,7 +23,7 @@ impl DependsCommand { .set_description("Shows which packages cause the given package to be installed") .set_definition(&[ InputArgument::new( - ::ARGUMENT_PACKAGE, + crate::command::base_dependency_command::ARGUMENT_PACKAGE, Some(InputArgument::REQUIRED), "Package to inspect", None, @@ -31,7 +31,7 @@ impl DependsCommand { .unwrap() .into(), InputOption::new( - ::OPTION_RECURSIVE, + crate::command::base_dependency_command::OPTION_RECURSIVE, Some(shirabe_php_shim::PhpMixed::String("r".to_string())), Some(InputOption::VALUE_NONE), "Recursively resolves up to the root package", @@ -40,7 +40,7 @@ impl DependsCommand { .unwrap() .into(), InputOption::new( - ::OPTION_TREE, + crate::command::base_dependency_command::OPTION_TREE, Some(shirabe_php_shim::PhpMixed::String("t".to_string())), Some(InputOption::VALUE_NONE), "Prints the results as a nested tree", @@ -65,7 +65,7 @@ impl DependsCommand { ); } - pub fn execute(&self, input: &dyn InputInterface, output: &dyn OutputInterface) -> i64 { + pub fn execute(&mut self, input: &dyn InputInterface, output: &dyn OutputInterface) -> i64 { // TODO(phase-b): wire `do_execute` from BaseDependencyCommand trait without conflicting with // BaseCommand blanket impl let _ = (input, output); -- cgit v1.3.1