FIX Remove unnecessary methods from trait, adds Composer 2.3 compatibility (#19)

This commit is contained in:
Jordi Boggiano 2022-04-01 10:25:06 +02:00 committed by GitHub
parent 102c2bc100
commit a76509e8a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,31 +14,6 @@ use Symfony\Component\Console\Output\OutputInterface;
trait RecipeCommandBehaviour 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 OutputInterface $output
* @param string $recipe * @param string $recipe