Skip to content

Commit

Permalink
Merge pull request #104 from humanmade/backport-102-to-v5-branch
Browse files Browse the repository at this point in the history
[Backport v5-branch] Add Composer v2 support
  • Loading branch information
roborourke authored Oct 29, 2020
2 parents 5f67c98 + 4cee65e commit c407f6c
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 c407f6c

Please sign in to comment.