Browse Source

Doc updates

Jordi Boggiano 5 years ago
parent
commit
3d0d71367d
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/Composer/Plugin/PluginInterface.php

+ 5 - 1
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