Skip to content

Commit

Permalink
composer 2.0 compat
Browse files Browse the repository at this point in the history
Signed-off-by: RJ Garcia <[email protected]>
  • Loading branch information
RJ Garcia committed Feb 11, 2021
1 parent 4d848c3 commit 8643808
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"files": ["src/autoload.php"]
},
"require": {
"composer-plugin-api": "^1.1",
"composer-plugin-api": "^1.1 || ^2.0",
"php": "^7.1"
},
"require-dev": {
"composer/composer": "^1.7",
"composer/composer": "^2.0",
"peridot-php/leo": "^1.6",
"peridot-php/peridot": "^1.19"
},
Expand Down
2 changes: 2 additions & 0 deletions src/PhpIncPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class PhpIncPlugin implements PluginInterface, EventSubscriberInterface
* @param IOInterface $io
*/
public function activate(Composer $composer, IOInterface $io) {}
public function deactivate(Composer $composer, IOInterface $io) {}
public function uninstall(Composer $composer, IOInterface $io) {}

/**
* Returns an array of event names this subscriber wants to listen to.
Expand Down

0 comments on commit 8643808

Please sign in to comment.