diff --git a/composer.json b/composer.json index b71a4b7fcaa95f0df243ffa6677d22db9751c66d..6ef3a63af9f656ba578fa84c6d00b01d9ca4f49a 100644 --- a/composer.json +++ b/composer.json @@ -18,8 +18,8 @@ }, "require": { "php": ">=7.1", - "composer/composer": "^1.10", - "composer-plugin-api": "^1.0.0", + "composer/composer": "^1.0 || ^2.0", + "composer-plugin-api": "^1.0 || ^2.0", "oohology/gitignorewriter": "^1.1" }, "minimum-stability": "dev", diff --git a/src/Plugin.php b/src/Plugin.php index 32fd108950cdd5f45db85aa7fc0bbdd45decc873..a30fc9193aaf25d35e7513281ddce03c3f5e95f4 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -30,6 +30,18 @@ class Plugin implements PluginInterface, EventSubscriberInterface, Capable { $this->handler = new Handler($composer, $io); } + /** + * {@inheritdoc} + */ + public function deactivate(Composer $composer, IOInterface $io) { + } + + /** + * {@inheritdoc} + */ + public function uninstall(Composer $composer, IOInterface $io) { + } + /** * {@inheritdoc} */