|
@@ -31,9 +31,9 @@ discard block |
|
|
block discarded – undo |
|
31
|
31
|
} |
|
32
|
32
|
|
|
33
|
33
|
$resultPromise = $downloader->download($package, $destDir, null, false); |
|
34
|
|
- $resultPromise->then(function ($path) use (&$patchData) { |
|
|
34
|
+ $resultPromise->then(function($path) use (&$patchData) { |
|
35
|
35
|
$patchData[PatchDefinition::PATH] = $path; |
|
36
|
|
- }, function (\Exception $exception) use ($source, $errorHandler, &$patchData, &$errors) { |
|
|
36
|
+ }, function(\Exception $exception) use ($source, $errorHandler, &$patchData, &$errors) { |
|
37
|
37
|
try { |
|
38
|
38
|
if (!$exception instanceof \Composer\Downloader\TransportException) { |
|
39
|
39
|
throw $exception; |
|
@@ -89,7 +89,7 @@ discard block |
|
|
block discarded – undo |
|
89
|
89
|
|
|
90
|
90
|
return $installer |
|
91
|
91
|
->download($package) |
|
92
|
|
- ->then(function () use ($installationManager, $installOperation, $repository) { |
|
|
92
|
+ ->then(function() use ($installationManager, $installOperation, $repository) { |
|
93
|
93
|
$installationManager->install($repository, $installOperation); |
|
94
|
94
|
}); |
|
95
|
95
|
} |
Please login to merge, or discard this patch.