diff --git a/composer.json b/composer.json index 25c09a9..48b9b99 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "type": "composer-plugin", "license": "GPL-2.0", "require": { - "composer-plugin-api": "^1.0" + "composer-plugin-api": "^1.1.0 || ^2.0" }, "require-dev": { "composer/composer": "^1.0", diff --git a/src/Composer/Plugin.php b/src/Composer/Plugin.php index 2f8ef89..4943fb3 100644 --- a/src/Composer/Plugin.php +++ b/src/Composer/Plugin.php @@ -152,4 +152,16 @@ protected function isDrupalPackage($package) } return false; } + + /** + * {@inheritDoc} + */ + public function deactivate(Composer $composer, IOInterface $io) { + } + + /** + * {@inheritDoc} + */ + public function uninstall(Composer $composer, IOInterface $io) { + } }