Skip to content

Commit

Permalink
Add support for Composer v2 branch. See composer/composer#8726
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayesh committed Apr 4, 2020
1 parent 388510b commit 6bb25b0
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 @@ -11,7 +11,7 @@
],
"require": {
"php": "^7.2 | ^8.0",
"composer-plugin-api": "^1.0",
"composer-plugin-api": "^1.0 || ^2.0",
"ayesh/php-timer": "^2.1.1",
"symfony/finder": "^3.4.18 | ^4.0.14 | ^4.1.7 | ^4.2.0 | ^5.0.7"
},
Expand Down
12 changes: 12 additions & 0 deletions src/Composer/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,16 @@ public function getCapabilities(): array {
CommandProvider::class => PreloadCommandProvider::class,
);
}

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

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

0 comments on commit 6bb25b0

Please sign in to comment.