Passed
Push — master ( 3501c1...444f05 )
by Allan
02:09 queued 10s
created
src/Patch/DefinitionList/LoaderComponents/DownloaderComponent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
                     $downloader = $this->fileDownloader;
93 93
 
94 94
                     $this->consoleSilencer->applyToCallback(
95
-                        function () use ($downloader, $package, $destinationFolder) {
95
+                        function() use ($downloader, $package, $destinationFolder) {
96 96
                             $downloader->download($package, $destinationFolder, false);
97 97
                         }
98 98
                     );
Please login to merge, or discard this patch.
src/Managers/RepositoryManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
         $installer = $this->installationManager;
65 65
         
66 66
         $this->consoleSilencer->applyToCallback(
67
-            function () use ($installer, $repository, $operation) {
67
+            function() use ($installer, $repository, $operation) {
68 68
                 $installer->install($repository, $operation);
69 69
             }
70 70
         );
Please login to merge, or discard this patch.
src/Patch/DefinitionList/Analyser.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,9 +69,9 @@  discard block
 block discarded – undo
69 69
     {
70 70
         return array_reduce(
71 71
             $patches,
72
-            function (array $result, array $items) use ($keys) {
72
+            function(array $result, array $items) use ($keys) {
73 73
                 $values = array_values(
74
-                    array_map(function ($item) use ($keys) {
74
+                    array_map(function($item) use ($keys) {
75 75
                         foreach ($keys as $key) {
76 76
                             if (!isset($item[$key])) {
77 77
                                 continue;
@@ -100,9 +100,9 @@  discard block
 block discarded – undo
100 100
         
101 101
         return array_reduce(
102 102
             $patches,
103
-            function (array $result, array $items) use ($keyFlags) {
103
+            function(array $result, array $items) use ($keyFlags) {
104 104
                 $values = array_values(
105
-                    array_map(function ($item) use ($keyFlags) {
105
+                    array_map(function($item) use ($keyFlags) {
106 106
                         return array_replace(
107 107
                             $keyFlags,
108 108
                             array_intersect_key($item, $keyFlags)
Please login to merge, or discard this patch.
src/Patch/File/Applier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -314,7 +314,7 @@
 block discarded – undo
314 314
         $pathMarker = '\|\+\+\+\s(.*)';
315 315
         $pathMatcher = sprintf('/^%s/', $pathMarker);
316 316
 
317
-        $patternsWithResults = array_filter($failureMessages, function ($pattern) use ($output) {
317
+        $patternsWithResults = array_filter($failureMessages, function($pattern) use ($output) {
318 318
             return $pattern && preg_match($pattern, $output);
319 319
         });
320 320
         
Please login to merge, or discard this patch.
src/Utils/DataUtils.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     public function prefixArrayValues(array $data, $prefix, $template = '%s%s')
59 59
     {
60 60
         return array_map(
61
-            function ($value) use ($prefix, $template) {
61
+            function($value) use ($prefix, $template) {
62 62
                 return sprintf($template, $prefix, $value);
63 63
             },
64 64
             $data
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     {
85 85
         $whitelist = array_filter(
86 86
             array_keys($data),
87
-            function ($key) use ($prefix) {
87
+            function($key) use ($prefix) {
88 88
                 return strpos($key, $prefix) !== 0;
89 89
             }
90 90
         );
Please login to merge, or discard this patch.
src/Plugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,10 +103,10 @@
 block discarded – undo
103 103
         $bootstrap = $this->bootstrap;
104 104
         
105 105
         $result = $runtimeUtils->executeWithPostAction(
106
-            function () use ($bootstrap, $event) {
106
+            function() use ($bootstrap, $event) {
107 107
                 return $bootstrap->applyPatches($event->isDevMode());
108 108
             },
109
-            function () use ($event, $lockSanitizer) {
109
+            function() use ($event, $lockSanitizer) {
110 110
                 $repository = $event->getComposer()->getRepositoryManager()->getLocalRepository();
111 111
 
112 112
                 $repository->write();
Please login to merge, or discard this patch.