Skip to content

Commit ae00fb0

Browse files
committed
Merge branch 'feature/53-composer2'
2 parents 629e2e0 + 937ad3b commit ae00fb0

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
"class": "Joomlatools\\Composer\\Plugin"
2020
},
2121
"require": {
22-
"composer-plugin-api": "^1.0"
22+
"composer-plugin-api": "^2.0"
2323
}
2424
}

src/Joomlatools/Composer/Plugin.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,18 @@ public function activate(Composer $composer, IOInterface $io)
6363
$composer->getInstallationManager()->addInstaller($installer);
6464
}
6565

66+
public function deactivate(Composer $composer, IOInterface $io) {}
67+
68+
/**
69+
* Prepare the plugin to be uninstalled
70+
*
71+
* This will be called after deactivate.
72+
*
73+
* @param Composer $composer
74+
* @param IOInterface $io
75+
*/
76+
public function uninstall(Composer $composer, IOInterface $io) {}
77+
6678
public static function getSubscribedEvents()
6779
{
6880
return array(

0 commit comments

Comments
 (0)