Skip to content

Commit 2d35208

Browse files
author
RJ Garcia
committed
Composer 2.0 support
Signed-off-by: RJ Garcia <rj@stadiumgoods.com>
1 parent 77def9d commit 2d35208

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
},
1616
"require-dev": {
17-
"composer/composer": "^1.10",
17+
"composer/composer": "^2.0",
1818
"phpunit/phpunit": "^9.0",
1919
"symfony/finder": "^5.1",
2020
"symfony/var-dumper": "^5.0",

src/Bridge/Composer/StructGenComposerPlugin.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
final class StructGenComposerPlugin implements PluginInterface, Capable, EventSubscriberInterface
1717
{
1818
public function activate(Composer $composer, IOInterface $io) {}
19+
public function deactivate(Composer $composer, IOInterface $io) {}
20+
public function uninstall(Composer $composer, IOInterface $io) {}
1921

2022
/**
2123
* Returns an array of event names this subscriber wants to listen to.

0 commit comments

Comments
 (0)