Passed
Branch master (54936a)
by Allan
04:24 queued 01:40
created
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/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.
src/Repository/PatchesApplier.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
             $queuedPatches = array_filter(
220 220
                 $applyQueue[$packageName],
221
-                function ($data) use ($changedTargets) {
221
+                function($data) use ($changedTargets) {
222 222
                     return array_intersect($data[Patch::TARGETS], $changedTargets);
223 223
                 }
224 224
             );
Please login to merge, or discard this patch.
src/Package/InfoResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
         $installPath = $this->getSourcePath($package);
129 129
 
130 130
         $sourcePaths = array_map(
131
-            function ($path) use ($installPath) {
131
+            function($path) use ($installPath) {
132 132
                 return $installPath . DIRECTORY_SEPARATOR . $path;
133 133
             },
134 134
             $autoloadConfig[ConfigKeys::PSR4_CONFIG]
Please login to merge, or discard this patch.
src/Patch/Collector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
         $that = $this;
102 102
         
103 103
         return array_map(
104
-            function (array $results) use ($that, $ownerConfig, $normalizer) {
104
+            function(array $results) use ($that, $ownerConfig, $normalizer) {
105 105
                 $normalizedList = $normalizer->normalize($results, $ownerConfig);
106 106
 
107 107
                 return $that->applySharedConfig($results, $normalizedList);
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
             }
126 126
             
127 127
             $patches[$target] = array_map(
128
-                function ($config) use ($updates) {
128
+                function($config) use ($updates) {
129 129
                     return array_replace($config, $updates);
130 130
                 },
131 131
                 $patches[$target]
Please login to merge, or discard this patch.
src/Patch/Definition/NormalizerComponents/DependencyComponent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
                 if ($dependsPatterns = $this->generateDependencyMatchPatterns($ownerConfig)) {
29 29
                     $matches = array_filter(
30 30
                         array_keys($dependsPatterns),
31
-                        function ($pattern) use ($target) {
31
+                        function($pattern) use ($target) {
32 32
                             return preg_match('#' . $pattern . '#', $target);
33 33
                         }
34 34
                     );
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
             }
65 65
         }
66 66
         
67
-        $patterns = array_map(function ($candidate) {
67
+        $patterns = array_map(function($candidate) {
68 68
             return trim($candidate, '*')
69 69
                 ? str_replace(chr(32), '.*', preg_quote(str_replace('*', chr(32), $candidate), '#'))
70 70
                 : preg_quote($candidate);
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
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     public function prefixArrayValues(array $data, $prefix)
21 21
     {
22 22
         return array_map(
23
-            function ($value) use ($prefix) {
23
+            function($value) use ($prefix) {
24 24
                 return $prefix . $value;
25 25
             },
26 26
             $data
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     {
32 32
         $whitelist = array_filter(
33 33
             array_keys($data),
34
-            function ($key) use ($prefix) {
34
+            function($key) use ($prefix) {
35 35
                 return strpos($key, $prefix) !== 0;
36 36
             }
37 37
         );
Please login to merge, or discard this patch.
modules/proxy-plugin/src/Plugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 /**
3 3
  * Copyright © Vaimo Group. All rights reserved.
4 4
  * See LICENSE_VAIMO.txt for license details.
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     
72 72
     private function composePath()
73 73
     {
74
-        $pathSegments = array_map(function ($item) {
74
+        $pathSegments = array_map(function($item) {
75 75
             return rtrim($item, \DIRECTORY_SEPARATOR);
76 76
         }, func_get_args());
77 77
 
Please login to merge, or discard this patch.