diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-20 08:33:49 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-20 08:33:57 +0900 |
| commit | f31b101ce1e921a026ba234b1f0a83b0392bc118 (patch) | |
| tree | b7ac2aa84d71ebd162cc21aeab0240e7e0544988 /crates/shirabe/src/command/depends_command.rs | |
| parent | 5e31fa33c3b5cf726a57a063b8e7a070869250fe (diff) | |
| download | php-shirabe-f31b101ce1e921a026ba234b1f0a83b0392bc118.tar.gz php-shirabe-f31b101ce1e921a026ba234b1f0a83b0392bc118.tar.zst php-shirabe-f31b101ce1e921a026ba234b1f0a83b0392bc118.zip | |
fix(compile): fix all remaining compile errors
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/command/depends_command.rs')
| -rw-r--r-- | crates/shirabe/src/command/depends_command.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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( - <Self as BaseDependencyCommand>::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( - <Self as BaseDependencyCommand>::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( - <Self as BaseDependencyCommand>::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); |
