Skip to content
Snippets Groups Projects
Commit 2395cec5 authored by jurgenhaas's avatar jurgenhaas
Browse files

#7 Add support for composer 2 while still supporting composer 1

parent b033f726
No related branches found
No related tags found
No related merge requests found
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
}, },
"require": { "require": {
"php": ">=7.1", "php": ">=7.1",
"composer/composer": "^1.10", "composer/composer": "^1.0 || ^2.0",
"composer-plugin-api": "^1.0.0", "composer-plugin-api": "^1.0 || ^2.0",
"oohology/gitignorewriter": "^1.1" "oohology/gitignorewriter": "^1.1"
}, },
"minimum-stability": "dev", "minimum-stability": "dev",
......
...@@ -30,6 +30,18 @@ class Plugin implements PluginInterface, EventSubscriberInterface, Capable { ...@@ -30,6 +30,18 @@ class Plugin implements PluginInterface, EventSubscriberInterface, Capable {
$this->handler = new Handler($composer, $io); $this->handler = new Handler($composer, $io);
} }
/**
* {@inheritdoc}
*/
public function deactivate(Composer $composer, IOInterface $io) {
}
/**
* {@inheritdoc}
*/
public function uninstall(Composer $composer, IOInterface $io) {
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment