API Add support for Composer 2 (#16)

This commit is contained in:
Maxime Rainville 2020-10-26 13:55:21 +13:00 committed by GitHub
parent 88cd7ed3a0
commit 374f223a17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 2 deletions

View File

@ -22,10 +22,10 @@
"lint-clean": "phpcbf src/"
},
"require": {
"composer-plugin-api": "^1.1"
"composer-plugin-api": "^1.1|^2"
},
"require-dev": {
"composer/composer": "^1.2"
"composer/composer": "^1.2|2"
},
"minimum-stability": "dev"
}

View File

@ -133,4 +133,15 @@ class RecipePlugin implements PluginInterface, EventSubscriberInterface, Capable
CommandProvider::class => RecipeCommandProvider::class
];
}
public function deactivate(Composer $composer, IOInterface $io)
{
}
public function uninstall(Composer $composer, IOInterface $io)
{
}
}