From a76509e8a641c3f0cdda30c795c9ff82c0da75c7 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 1 Apr 2022 10:25:06 +0200 Subject: [PATCH] FIX Remove unnecessary methods from trait, adds Composer 2.3 compatibility (#19) --- src/RecipeCommandBehaviour.php | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/src/RecipeCommandBehaviour.php b/src/RecipeCommandBehaviour.php index 27cc83a..8354ac5 100644 --- a/src/RecipeCommandBehaviour.php +++ b/src/RecipeCommandBehaviour.php @@ -14,31 +14,6 @@ trait RecipeCommandBehaviour { - /** - * Gets the application instance for this command. - * - * @return Application An Application instance - */ - public abstract function getApplication(); - - /** - * @param bool $required - * @param bool|null $disablePlugins - * @throws \RuntimeException - * @return Composer - */ - public abstract function getComposer($required = true, $disablePlugins = null); - - /** - * Removes the cached composer instance - */ - public abstract function resetComposer(); - - /** - * @return IOInterface - */ - abstract public function getIO(); - /** * @param OutputInterface $output * @param string $recipe