Skip to content

Commit

Permalink
Merge pull request #103 from humanmade/backport-102-to-v3-branch
Browse files Browse the repository at this point in the history
[Backport v3-branch] Add Composer v2 support
  • Loading branch information
roborourke authored Oct 29, 2020
2 parents 0688889 + f9ac52b commit 4e0842d
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 @@ -46,4 +46,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 4e0842d

Please sign in to comment.