Jordi Boggiano 5 жил өмнө
parent
commit
e34a2a9f45

+ 1 - 1
src/Composer/Installer/InstallationManager.php

@@ -250,7 +250,7 @@ class InstallationManager
                     if (defined($event) && $runScripts && $dispatcher) {
                         $dispatcher->dispatchPackageEvent(constant($event), $devMode, $repo, $operations, $operation);
                     }
-                }, function ($e) use ($opType, $installer, $package, $initialPackage, $loop, $io) {
+                }, function ($e) use ($opType, $package, $io) {
                     $io->writeError('    <error>' . ucfirst($opType) .' of '.$package->getPrettyName().' failed</error>');
 
                     throw $e;