aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command/self_update_command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/command/self_update_command.rs')
-rw-r--r--crates/shirabe/src/command/self_update_command.rs9
1 files changed, 4 insertions, 5 deletions
diff --git a/crates/shirabe/src/command/self_update_command.rs b/crates/shirabe/src/command/self_update_command.rs
index 59c44830..55aca0dc 100644
--- a/crates/shirabe/src/command/self_update_command.rs
+++ b/crates/shirabe/src/command/self_update_command.rs
@@ -10,13 +10,15 @@ use crate::io::io_interface;
use shirabe_external_packages::symfony::console::command::command::Command;
use shirabe_external_packages::symfony::console::input::InputInterface;
use shirabe_external_packages::symfony::console::output::OutputInterface;
-use shirabe_php_shim::PhpMixed;
+use shirabe_php_shim::{PhpMixed, impl_php_class};
#[derive(Debug)]
pub struct SelfUpdateCommand {
base_command_data: BaseCommandData,
}
+impl_php_class!(SelfUpdateCommand, r"Composer\Command\SelfUpdateCommand");
+
impl Default for SelfUpdateCommand {
fn default() -> Self {
Self::new()
@@ -99,10 +101,7 @@ impl Command for SelfUpdateCommand {
crate::command::base_command::base_command_complete(self, input, suggestions)
}
- shirabe_external_packages::delegate_command_trait_impls_to_inner!(
- base_command_data,
- "Composer\\Command\\SelfUpdateCommand"
- );
+ shirabe_external_packages::delegate_command_trait_impls_to_inner!(base_command_data);
}
impl BaseCommand for SelfUpdateCommand {