Passed
Pull Request — master (#124)
by
unknown
02:25
created
src/Compatibility/Executor.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,9 +32,9 @@  discard block
 block discarded – undo
32 32
         }
33 33
 
34 34
         $resultPromise = $downloader->download($package, $destDir, null, false);
35
-        $resultPromise->then(function ($path) use (&$patchData) {
35
+        $resultPromise->then(function($path) use (&$patchData) {
36 36
             $patchData[PatchDefinition::PATH] = $path;
37
-        }, function (\Exception $exception) use ($source, $errorHandler, &$patchData, &$errors) {
37
+        }, function(\Exception $exception) use ($source, $errorHandler, &$patchData, &$errors) {
38 38
             try {
39 39
                 if (!$exception instanceof \Composer\Downloader\TransportException) {
40 40
                     throw $exception;
@@ -98,13 +98,13 @@  discard block
 block discarded – undo
98 98
 
99 99
         $promise = \React\Promise\all([$uninstallPromise, $downloadPromise]);
100 100
 
101
-        return $promise->then(static function () use ($installationManager, $installOperation, $repository, $package) {
101
+        return $promise->then(static function() use ($installationManager, $installOperation, $repository, $package) {
102 102
             $installPromise = $installationManager->install($repository, $installOperation);
103 103
             if (!$installPromise) {
104 104
                 throw new OperationFailure(sprintf('Install of %s failed', $package->getName()));
105 105
             }
106 106
 
107
-            return $installPromise->then(static function () {});
107
+            return $installPromise->then(static function() {});
108 108
         });
109 109
     }
110 110
 }
Please login to merge, or discard this patch.