From 3d0d71367d596019015e9278a58eb9ad8f029982 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 12 Mar 2020 08:37:01 +0100 Subject: [PATCH] Doc updates --- src/Composer/Plugin/PluginInterface.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Composer/Plugin/PluginInterface.php b/src/Composer/Plugin/PluginInterface.php index 27b8c9754..4390764ff 100644 --- a/src/Composer/Plugin/PluginInterface.php +++ b/src/Composer/Plugin/PluginInterface.php @@ -40,6 +40,10 @@ interface PluginInterface /** * Remove any hooks from Composer * + * This will be called when a plugin is deactivated before being + * uninstalled, but also before it gets upgraded to a new version + * so the old one can be deactivated and the new one activated. + * * @param Composer $composer * @param IOInterface $io */ @@ -48,7 +52,7 @@ interface PluginInterface /** * Prepare the plugin to be uninstalled * - * This will be called after deactivate + * This will be called after deactivate. * * @param Composer $composer * @param IOInterface $io