diff --git a/composer.json b/composer.json index a25b062e..441510e6 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ }, "require": { "php": ">=5.3", - "composer-plugin-api": "^1.0", + "composer-plugin-api": "^1.0 || ^2.0", "squizlabs/php_codesniffer": "^2 || ^3 || 4.0.x-dev" }, "require-dev": { diff --git a/src/Plugin.php b/src/Plugin.php index 847405d8..0591f2f9 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -124,6 +124,20 @@ public function activate(Composer $composer, IOInterface $io) $this->init(); } + /** + * {@inheritDoc} + */ + public function deactivate(Composer $composer, IOInterface $io) + { + } + + /** + * {@inheritDoc} + */ + public function uninstall(Composer $composer, IOInterface $io) + { + } + /** * Prepares the plugin so it's main functionality can be run. *