Passed
Branch release/3 (7c568f)
by Allan
06:54
created
Category
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.
src/Composer/Commands/ListCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
                 $patchListUpdater->updateStatuses($excludedPatches, 'excluded')
182 182
             );
183 183
 
184
-            array_walk($patches, function (array &$group) {
184
+            array_walk($patches, function(array &$group) {
185 185
                 ksort($group);
186 186
             }, $patches);
187 187
         }
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
             $composer->getConfig()->get(\Vaimo\ComposerPatches\Composer\ConfigKeys::VENDOR_DIR)
206 206
         );
207 207
 
208
-        $componentOverrides =  array(
208
+        $componentOverrides = array(
209 209
             'constraints' => false,
210 210
             'platform' => false,
211 211
             'local-exclude' => false,
Please login to merge, or discard this patch.
src/Console/OutputAnalyser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     {
12 12
         $patternsWithResults = array_filter(
13 13
             $failureMessages,
14
-            function ($pattern) use ($output) {
14
+            function($pattern) use ($output) {
15 15
                 return $pattern && preg_match($pattern, $output);
16 16
             }
17 17
         );
Please login to merge, or discard this patch.
src/Console/OutputGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
             }
100 100
         }
101 101
 
102
-        return array_map(function (array $items) {
102
+        return array_map(function(array $items) {
103 103
             $filteredItems = array_filter($items);
104 104
             
105 105
             if (isset($filteredItems['']) && count($filteredItems) > 1) {
Please login to merge, or discard this patch.
src/Composer/Commands/PatchCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
         $bootstrap = $bootstrapFactory->create($listResolver, $outputStrategy, $config);
142 142
 
143 143
         $result = $runtimeUtils->executeWithPostAction(
144
-            function () use ($shouldUndo, $filters, $isDevMode, $bootstrap, $runtimeUtils, $input, $behaviourFlags) {
144
+            function() use ($shouldUndo, $filters, $isDevMode, $bootstrap, $runtimeUtils, $input, $behaviourFlags) {
145 145
                 if ($shouldUndo && !array_filter($filters)) {
146 146
                     $bootstrap->stripPatches($isDevMode);
147 147
                     
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
 
156 156
                 return $bootstrap->applyPatches($isDevMode);
157 157
             },
158
-            function () use ($composer, $lockSanitizer) {
158
+            function() use ($composer, $lockSanitizer) {
159 159
                 $repository = $composer->getRepositoryManager()->getLocalRepository();
160 160
 
161 161
                 $repository->write();
Please login to merge, or discard this patch.
src/Utils/FileSystemUtils.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     {
12 12
         $paths = $this->collectPathsRecursively($rootPath, $pattern);
13 13
 
14
-        return array_filter($paths, function ($item) {
14
+        return array_filter($paths, function($item) {
15 15
             return is_file($item);
16 16
         });
17 17
     }
Please login to merge, or discard this patch.
src/Package/ConfigAnalyser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     {
27 27
         return (bool)array_filter(
28 28
             $this->namespacesExtractor->getConfig($package, ''),
29
-            function ($item) use ($namespace) {
29
+            function($item) use ($namespace) {
30 30
                 return $item && strpos($namespace, rtrim($item, '\\')) === 0;
31 31
             }
32 32
         );
Please login to merge, or discard this patch.
src/Shell.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 
46 46
         $output = '';
47 47
 
48
-        $outputHandler = function ($type, $data) use ($logger, &$output) {
48
+        $outputHandler = function($type, $data) use ($logger, &$output) {
49 49
             $output .= $data;
50 50
             $logger->writeVerbose('comment', trim($data));
51 51
         };
Please login to merge, or discard this patch.