aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/command')
-rw-r--r--crates/shirabe/src/command/base_command.rs23
1 files changed, 0 insertions, 23 deletions
diff --git a/crates/shirabe/src/command/base_command.rs b/crates/shirabe/src/command/base_command.rs
index b6664e7..8aff0d9 100644
--- a/crates/shirabe/src/command/base_command.rs
+++ b/crates/shirabe/src/command/base_command.rs
@@ -157,14 +157,6 @@ pub trait BaseCommand {
/// Gets the application instance for this command.
fn get_application(&self) -> Result<Application>;
- /// @deprecated since Composer 2.3.0 use requireComposer or tryComposer depending on whether you have $required set to true or false
- fn get_composer(
- &mut self,
- required: bool,
- disable_plugins: Option<bool>,
- disable_scripts: Option<bool>,
- ) -> Result<Option<PartialComposerHandle>>;
-
/// Retrieves the default Composer\Composer instance or throws
fn require_composer(
&mut self,
@@ -295,21 +287,6 @@ impl<C: HasBaseCommandData> BaseCommand for C {
todo!()
}
- fn get_composer(
- &mut self,
- required: bool,
- disable_plugins: Option<bool>,
- disable_scripts: Option<bool>,
- ) -> Result<Option<PartialComposerHandle>> {
- if required {
- return Ok(Some(
- self.require_composer(disable_plugins, disable_scripts)?,
- ));
- }
-
- Ok(self.try_composer(disable_plugins, disable_scripts))
- }
-
fn require_composer(
&mut self,
_disable_plugins: Option<bool>,