Skip to content

Commit

Permalink
Fixes #10: adds support for composer 2.x. (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemadison13 committed Oct 14, 2020
1 parent 59ff99a commit af4d50b
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 @@ -13,7 +13,7 @@
"type": "composer-plugin",
"license": "GPL-2.0",
"require": {
"composer-plugin-api": "^1.0"
"composer-plugin-api": "^1.1.0 || ^2.0"
},
"require-dev": {
"composer/composer": "^1.0",
Expand Down
12 changes: 12 additions & 0 deletions src/Composer/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,16 @@ protected function isDrupalPackage($package)
}
return false;
}

/**
* {@inheritDoc}
*/
public function deactivate(Composer $composer, IOInterface $io) {
}

/**
* {@inheritDoc}
*/
public function uninstall(Composer $composer, IOInterface $io) {
}
}

0 comments on commit af4d50b

Please sign in to comment.