diff --git a/src/Composer/EventDispatcher/EventDispatcher.php b/src/Composer/EventDispatcher/EventDispatcher.php index 0ac0453af..ca23a1bdd 100644 --- a/src/Composer/EventDispatcher/EventDispatcher.php +++ b/src/Composer/EventDispatcher/EventDispatcher.php @@ -74,7 +74,7 @@ class EventDispatcher } /** - * Set whether to run scripts or not + * Set whether script handlers are active or not * * @param bool $runScripts */ diff --git a/src/Composer/Installer.php b/src/Composer/Installer.php index c803edfdf..6cf057172 100644 --- a/src/Composer/Installer.php +++ b/src/Composer/Installer.php @@ -1131,6 +1131,7 @@ class Installer * * @param bool $runScripts * @return Installer + * @deprecated Use setRunScripts(false) on the EventDispatcher instance being injected instead */ public function setRunScripts($runScripts = true) {