diff options
Diffstat (limited to 'crates/shirabe/src/command')
| -rw-r--r-- | crates/shirabe/src/command/about_command.rs | 3 | ||||
| -rw-r--r-- | crates/shirabe/src/command/depends_command.rs | 3 | ||||
| -rw-r--r-- | crates/shirabe/src/command/prohibits_command.rs | 3 | ||||
| -rw-r--r-- | crates/shirabe/src/command/status_command.rs | 3 | ||||
| -rw-r--r-- | crates/shirabe/src/command/validate_command.rs | 3 |
5 files changed, 10 insertions, 5 deletions
diff --git a/crates/shirabe/src/command/about_command.rs b/crates/shirabe/src/command/about_command.rs index 95d0a343..764ecf5f 100644 --- a/crates/shirabe/src/command/about_command.rs +++ b/crates/shirabe/src/command/about_command.rs @@ -7,13 +7,14 @@ use crate::composer; 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::impl_php_class; #[derive(Debug)] pub struct AboutCommand { base_command_data: BaseCommandData, } -shirabe_php_shim::impl_php_class!(AboutCommand, r"Composer\Command\AboutCommand"); +impl_php_class!(AboutCommand, r"Composer\Command\AboutCommand"); impl Default for AboutCommand { fn default() -> Self { diff --git a/crates/shirabe/src/command/depends_command.rs b/crates/shirabe/src/command/depends_command.rs index a8910603..974e55b1 100644 --- a/crates/shirabe/src/command/depends_command.rs +++ b/crates/shirabe/src/command/depends_command.rs @@ -10,6 +10,7 @@ use crate::console::input::InputOption; 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::impl_php_class; #[derive(Debug)] pub struct DependsCommand { @@ -18,7 +19,7 @@ pub struct DependsCommand { colors: std::cell::RefCell<Vec<String>>, } -shirabe_php_shim::impl_php_class!(DependsCommand, r"Composer\Command\DependsCommand"); +impl_php_class!(DependsCommand, r"Composer\Command\DependsCommand"); impl Default for DependsCommand { fn default() -> Self { diff --git a/crates/shirabe/src/command/prohibits_command.rs b/crates/shirabe/src/command/prohibits_command.rs index 305af738..da853f49 100644 --- a/crates/shirabe/src/command/prohibits_command.rs +++ b/crates/shirabe/src/command/prohibits_command.rs @@ -9,6 +9,7 @@ use crate::console::input::InputOption; 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::impl_php_class; #[derive(Debug)] pub struct ProhibitsCommand { @@ -17,7 +18,7 @@ pub struct ProhibitsCommand { colors: std::cell::RefCell<Vec<String>>, } -shirabe_php_shim::impl_php_class!(ProhibitsCommand, r"Composer\Command\ProhibitsCommand"); +impl_php_class!(ProhibitsCommand, r"Composer\Command\ProhibitsCommand"); impl Default for ProhibitsCommand { fn default() -> Self { diff --git a/crates/shirabe/src/command/status_command.rs b/crates/shirabe/src/command/status_command.rs index 5bcb7dd7..7a8ac04c 100644 --- a/crates/shirabe/src/command/status_command.rs +++ b/crates/shirabe/src/command/status_command.rs @@ -16,13 +16,14 @@ use indexmap::IndexMap; 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::impl_php_class; #[derive(Debug)] pub struct StatusCommand { base_command_data: BaseCommandData, } -shirabe_php_shim::impl_php_class!(StatusCommand, r"Composer\Command\StatusCommand"); +impl_php_class!(StatusCommand, r"Composer\Command\StatusCommand"); impl Default for StatusCommand { fn default() -> Self { diff --git a/crates/shirabe/src/command/validate_command.rs b/crates/shirabe/src/command/validate_command.rs index 6e84c9d9..0a89b71d 100644 --- a/crates/shirabe/src/command/validate_command.rs +++ b/crates/shirabe/src/command/validate_command.rs @@ -16,13 +16,14 @@ use crate::util::Filesystem; 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::impl_php_class; #[derive(Debug)] pub struct ValidateCommand { base_command_data: BaseCommandData, } -shirabe_php_shim::impl_php_class!(ValidateCommand, r"Composer\Command\ValidateCommand"); +impl_php_class!(ValidateCommand, r"Composer\Command\ValidateCommand"); impl Default for ValidateCommand { fn default() -> Self { |
