Skip to content

Commit

Permalink
Add Composer v2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
roborourke committed Oct 28, 2020
1 parent 5f67c98 commit 4cee65e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
12 changes: 12 additions & 0 deletions inc/composer/class-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
}
}

0 comments on commit 4cee65e

Please sign in to comment.