Sfoglia il codice sorgente

Remove unused used vars

Jordi Boggiano 5 anni fa
parent
commit
e34a2a9f45
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/Composer/Installer/InstallationManager.php

+ 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;