Passed
Push — master ( a5a9ff...6b1ecc )
by Allan
02:00
created
src/Strategies/OutputStrategy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
         return (bool)array_filter(
29 29
             $patches,
30
-            function (array $patch) use ($muteTriggersMatcher) {
30
+            function(array $patch) use ($muteTriggersMatcher) {
31 31
                 return array_filter(
32 32
                     array_intersect_key($patch, $muteTriggersMatcher)
33 33
                 );
Please login to merge, or discard this patch.
src/Patch/SourcesResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     {
29 29
         $result = array_reduce(
30 30
             $this->listSources,
31
-            function ($result, PatchSourceListInterface $listSource) use ($repository) {
31
+            function($result, PatchSourceListInterface $listSource) use ($repository) {
32 32
                 return array_merge($result, $listSource->getItems($repository));
33 33
             },
34 34
             array()
Please login to merge, or discard this patch.
src/Patch/DefinitionList/Loader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         
59 59
         $processedPatches = array_reduce(
60 60
             $this->listLoaders,
61
-            function (array $patches, ListLoader $listLoader) use ($packages) {
61
+            function(array $patches, ListLoader $listLoader) use ($packages) {
62 62
                 return $listLoader->process($patches, $packages);
63 63
             },
64 64
             $patches
Please login to merge, or discard this patch.
src/Patch/DefinitionList/Sanitizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
         return $this->dataUtils->walkArrayNodes(
25 25
             $patches,
26
-            function (array $value) use ($dataUtils) {
26
+            function(array $value) use ($dataUtils) {
27 27
                 return $dataUtils->removeKeysByPrefix($value, '_');
28 28
             }
29 29
         );
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/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/BasePathComponent.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     
133 133
     private function expandPathVariables(array $pathVariables, array $mutationNamesMap)
134 134
     {
135
-        $normalizedVariables = array_map(function ($part) {
135
+        $normalizedVariables = array_map(function($part) {
136 136
             $part = strtolower(
137 137
                 preg_replace(
138 138
                     array('/([A-Z]+)([A-Z][a-z])/', '/([a-z\d])([A-Z])/'),
@@ -184,19 +184,19 @@  discard block
 block discarded – undo
184 184
     private function createMutationAppliers()
185 185
     {
186 186
         return array(
187
-            function ($value) {
187
+            function($value) {
188 188
                 return str_replace(' ', '', $value);
189 189
             },
190
-            function ($value) {
190
+            function($value) {
191 191
                 return str_replace(' ', '', ucwords($value));
192 192
             },
193
-            function ($value) {
193
+            function($value) {
194 194
                 return str_replace(' ', '', ucfirst($value));
195 195
             },
196
-            function ($value) {
196
+            function($value) {
197 197
                 return str_replace(' ', '-', $value);
198 198
             },
199
-            function ($value) {
199
+            function($value) {
200 200
                 return str_replace(' ', '_', $value);
201 201
             },
202 202
         );
Please login to merge, or discard this patch.