diff options
Diffstat (limited to 'crates/shirabe/src/command/diagnose_command.rs')
| -rw-r--r-- | crates/shirabe/src/command/diagnose_command.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crates/shirabe/src/command/diagnose_command.rs b/crates/shirabe/src/command/diagnose_command.rs index 047b8377..1674e10e 100644 --- a/crates/shirabe/src/command/diagnose_command.rs +++ b/crates/shirabe/src/command/diagnose_command.rs @@ -40,8 +40,9 @@ use shirabe_external_packages::symfony::console::output::OutputInterface; use shirabe_external_packages::symfony::process::ExecutableFinder; use shirabe_php_shim::{ InvalidArgumentException, PHP_EOL, PhpMixed, disk_free_space, file_exists, filter_var_boolean, - get_class_err, hash, implode, is_array, is_string, php_regex, rtrim, str_contains, str_replace, - str_starts_with, strpos, strstr, strstr3, strtolower, trim, version_compare, + get_class_err, hash, impl_php_class, implode, is_array, is_string, php_regex, rtrim, + str_contains, str_replace, str_starts_with, strpos, strstr, strstr3, strtolower, trim, + version_compare, }; #[derive(Debug)] @@ -55,6 +56,8 @@ pub struct DiagnoseCommand { pub(crate) exit_code: std::cell::Cell<i64>, } +impl_php_class!(DiagnoseCommand, r"Composer\Command\DiagnoseCommand"); + impl Default for DiagnoseCommand { fn default() -> Self { Self::new() @@ -452,10 +455,7 @@ impl Command for DiagnoseCommand { crate::command::base_command::base_command_complete(self, input, suggestions) } - shirabe_external_packages::delegate_command_trait_impls_to_inner!( - base_command_data, - "Composer\\Command\\DiagnoseCommand" - ); + shirabe_external_packages::delegate_command_trait_impls_to_inner!(base_command_data); } impl BaseCommand for DiagnoseCommand { |
