diff --git a/composer.json b/composer.json index e275970..6009102 100644 --- a/composer.json +++ b/composer.json @@ -16,11 +16,11 @@ "files": ["src/autoload.php"] }, "require": { - "composer-plugin-api": "^1.1", + "composer-plugin-api": "^1.1 || ^2.0", "php": "^7.1" }, "require-dev": { - "composer/composer": "^1.7", + "composer/composer": "^2.0", "peridot-php/leo": "^1.6", "peridot-php/peridot": "^1.19" }, diff --git a/src/PhpIncPlugin.php b/src/PhpIncPlugin.php index 473fca0..a0511b8 100644 --- a/src/PhpIncPlugin.php +++ b/src/PhpIncPlugin.php @@ -20,6 +20,8 @@ class PhpIncPlugin implements PluginInterface, EventSubscriberInterface * @param IOInterface $io */ public function activate(Composer $composer, IOInterface $io) {} + public function deactivate(Composer $composer, IOInterface $io) {} + public function uninstall(Composer $composer, IOInterface $io) {} /** * Returns an array of event names this subscriber wants to listen to.