Skip to content

Commit 8643808

Browse files
author
RJ Garcia
committed
composer 2.0 compat
Signed-off-by: RJ Garcia <[email protected]>
1 parent 4d848c3 commit 8643808

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
"files": ["src/autoload.php"]
1717
},
1818
"require": {
19-
"composer-plugin-api": "^1.1",
19+
"composer-plugin-api": "^1.1 || ^2.0",
2020
"php": "^7.1"
2121
},
2222
"require-dev": {
23-
"composer/composer": "^1.7",
23+
"composer/composer": "^2.0",
2424
"peridot-php/leo": "^1.6",
2525
"peridot-php/peridot": "^1.19"
2626
},

src/PhpIncPlugin.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ class PhpIncPlugin implements PluginInterface, EventSubscriberInterface
2020
* @param IOInterface $io
2121
*/
2222
public function activate(Composer $composer, IOInterface $io) {}
23+
public function deactivate(Composer $composer, IOInterface $io) {}
24+
public function uninstall(Composer $composer, IOInterface $io) {}
2325

2426
/**
2527
* Returns an array of event names this subscriber wants to listen to.

0 commit comments

Comments
 (0)