diff --git a/composer.json b/composer.json index d91a6e1..22014df 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "require": { "php": ">=7.1", "aws/aws-sdk-php": "^3.150.0", - "composer-plugin-api": "^1.0", + "composer-plugin-api": "^1.1 || ^2.0", "composer/installers": "^1.4" }, "autoload": { diff --git a/inc/composer/class-plugin.php b/inc/composer/class-plugin.php index 1d8e2f7..d8d5a92 100644 --- a/inc/composer/class-plugin.php +++ b/inc/composer/class-plugin.php @@ -54,4 +54,16 @@ public function init() { $installer = new Installer( $this->io, $this->composer ); $this->composer->getInstallationManager()->addInstaller( $installer ); } + + /** + * {@inheritDoc} + */ + public function deactivate( Composer $composer, IOInterface $io ) { + } + + /** + * {@inheritDoc} + */ + public function uninstall( Composer $composer, IOInterface $io ) { + } }