diff --git a/src/Composer/Command/DumpAutoloadCommand.php b/src/Composer/Command/DumpAutoloadCommand.php index 7a5fcd5c7..c4b0b9926 100644 --- a/src/Composer/Command/DumpAutoloadCommand.php +++ b/src/Composer/Command/DumpAutoloadCommand.php @@ -89,6 +89,7 @@ EOT $generator->setDevMode(true); } $generator->setClassMapAuthoritative($authoritative); + $generator->setRunScripts(true); $generator->setApcu($apcu, $apcuPrefix); $generator->setIgnorePlatformRequirements($ignorePlatformReqs); $numberOfClasses = $generator->dump($config, $localRepo, $package, $installationManager, 'composer', $optimize);