Skip to content
Snippets Groups Projects
Commit d268bf21 authored by totten's avatar totten
Browse files

Merge branch 'master-composer-2' into 'master'

Update to support composer-plugin-api v2

See merge request dev/civicrm-asset-plugin!4
parents 87300f38 9c24c31b
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
"type": "composer-plugin",
"license": "BSD-2-Clause",
"require": {
"composer-plugin-api": "^1.1"
"composer-plugin-api": "^1.1 || ^2.0"
},
"require-dev": {
"totten/process-helper": "^1.0.1",
......
......@@ -38,6 +38,14 @@ class AssetPlugin implements PluginInterface, EventSubscriberInterface, Capable
$this->publisher = new Publisher($composer, $io);
}
public function deactivate(Composer $composer, IOInterface $io) {
// NOTE: This method is only valid on composer v2.
}
public function uninstall(Composer $composer, IOInterface $io) {
// NOTE: This method is only valid on composer v2.
}
/**
* {@inheritdoc}
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment