@@ -35,9 +35,9 @@ discard block |
||
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | $resultPromise = $downloader->download($package, $destDir, null, false); |
| 38 | - $resultPromise->then(function ($path) use (&$patchData) { |
|
| 38 | + $resultPromise->then(function($path) use (&$patchData) { |
|
| 39 | 39 | $patchData[PatchDefinition::PATH] = $path; |
| 40 | - }, function (\Exception $exception) use ($source, $errorHandler, &$patchData, &$errors) { |
|
| 40 | + }, function(\Exception $exception) use ($source, $errorHandler, &$patchData, &$errors) { |
|
| 41 | 41 | try { |
| 42 | 42 | if (!$exception instanceof \Composer\Downloader\TransportException) { |
| 43 | 43 | throw $exception; |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | throw new OperationFailure("Uninstallation of {$package->getName()} failed"); |
| 96 | 96 | } |
| 97 | 97 | |
| 98 | - return $promise->then(static function () use ($composer, $installer, $package) { |
|
| 98 | + return $promise->then(static function() use ($composer, $installer, $package) { |
|
| 99 | 99 | return SyncHelper::downloadAndInstallPackageSync( |
| 100 | 100 | $composer->getLoop(), |
| 101 | 101 | $composer->getDownloadManager(), |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | $compExecutor = $this->compExecutor; |
| 75 | 75 | $installationManager = $this->installationManager; |
| 76 | 76 | return $this->consoleSilencer->applyToCallback( |
| 77 | - function () use ($compExecutor, $installationManager, $repository, $resetOperation, $uninstallOperation, $composer) { |
|
| 77 | + function() use ($compExecutor, $installationManager, $repository, $resetOperation, $uninstallOperation, $composer) { |
|
| 78 | 78 | return $compExecutor->processReinstallOperation($repository, $installationManager, $resetOperation, $uninstallOperation, $composer); |
| 79 | 79 | } |
| 80 | 80 | ); |