Passed
Branch master (154f3a)
by Allan
03:09
created
Category
src/Package/Collector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         }
40 40
 
41 41
         return array_combine(
42
-            array_map(function (\Composer\Package\PackageInterface $package) {
42
+            array_map(function(\Composer\Package\PackageInterface $package) {
43 43
                 return $package->getName();
44 44
             }, $packages),
45 45
             $packages
Please login to merge, or discard this patch.
src/Repository/PatchesApplier/ListResolvers/InvertedListResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
             
49 49
             $items = isset($patches[$target]) ? $patches[$target] : array();
50 50
 
51
-            $matches[$target] = array_filter($items, function ($item) use ($targets) {
51
+            $matches[$target] = array_filter($items, function($item) use ($targets) {
52 52
                 return array_intersect_key($item[Patch::TARGETS], $targets);
53 53
             });
54 54
         }
Please login to merge, or discard this patch.
src/Repository/PatchesApplier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@
 block discarded – undo
202 202
 
203 203
             $queuedPatches = array_filter(
204 204
                 $patchQueue[$packageName],
205
-                function ($data) use ($changedTargets) {
205
+                function($data) use ($changedTargets) {
206 206
                     return array_intersect($data[Patch::TARGETS], $changedTargets);
207 207
                 }
208 208
             );
Please login to merge, or discard this patch.
src/Composer/Commands/ValidateCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
 
219 219
         $groups = array_fill_keys(array_keys($installPaths), array());
220 220
 
221
-        foreach ($orphanFiles as $path => $ownerName)  {
221
+        foreach ($orphanFiles as $path => $ownerName) {
222 222
             $installPath = $installPaths[$ownerName];
223 223
             
224 224
             $groups[$ownerName][] = array(
Please login to merge, or discard this patch.
src/Composer/Commands/ListCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
                 $patchListUtils->updateStatuses($excludedPatches, 'excluded')
181 181
             );
182 182
 
183
-            array_walk($patches, function (array &$group) {
183
+            array_walk($patches, function(array &$group) {
184 184
                 ksort($group);
185 185
             }, $patches);
186 186
         }
Please login to merge, or discard this patch.
src/Logger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
         
67 67
         $prefix = $this->getIndentationString();
68 68
 
69
-        $lines = array_map(function ($line) use ($prefix) {
69
+        $lines = array_map(function($line) use ($prefix) {
70 70
             return $prefix . $line;
71 71
         }, explode(PHP_EOL, $message));
72 72
         
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
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
 
35 35
         $output = '';
36 36
         
37
-        $outputHandler = function ($type, $data) use ($logger, &$output) {
37
+        $outputHandler = function($type, $data) use ($logger, &$output) {
38 38
             $output .= $data;
39 39
             
40 40
             $logger->writeVerbose('comment', trim($data));
Please login to merge, or discard this patch.