Skip to content

Commit 237faae

Browse files
authored
Merge pull request johnpbloch#27 from Ayesh/composer2
Add support for Composer version 2
2 parents bb894f3 + 7410911 commit 237faae

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

src/johnpbloch/Composer/WordPressCorePlugin.php

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,16 @@ public function activate( Composer $composer, IOInterface $io ) {
3838
$composer->getInstallationManager()->addInstaller( $installer );
3939
}
4040

41-
public function deactivate(Composer $composer, IOInterface $io)
42-
{
43-
}
41+
/**
42+
* {@inheritDoc}
43+
*/
44+
public function deactivate( Composer $composer, IOInterface $io ) {
45+
}
46+
47+
/**
48+
* {@inheritDoc}
49+
*/
50+
public function uninstall( Composer $composer, IOInterface $io ) {
51+
}
4452

45-
public function uninstall(Composer $composer, IOInterface $io)
46-
{
47-
}
4853
}

0 commit comments

Comments
 (0)