Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
support Composer 2.0 (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjergus committed Nov 4, 2020
1 parent 816e33c commit 7da803b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions ComposerPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,12 @@ public function onPostAutoloadDump(Event $event) {
$args;
$executor->execute($command);
}

/** Does nothing but required by Composer 2.0 */
public function deactivate(Composer $composer, IOInterface $io) {
}

/** Does nothing but required by Composer 2.0 */
public function uninstall(Composer $composer, IOInterface $io) {
}
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"bin/hh-autoload.hack"
],
"require": {
"composer-plugin-api": "^1.0",
"composer-plugin-api": "^1.0|^2.0",
"hhvm": "^4.25",
"hhvm/hsl": "^4.0"
},
Expand Down

0 comments on commit 7da803b

Please sign in to comment.