@@ -39,7 +39,7 @@ |
||
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 |
@@ -48,7 +48,7 @@ |
||
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 | } |
@@ -202,7 +202,7 @@ |
||
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 | ); |
@@ -218,7 +218,7 @@ |
||
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( |
@@ -180,7 +180,7 @@ |
||
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 | } |
@@ -66,7 +66,7 @@ |
||
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 |
@@ -34,7 +34,7 @@ |
||
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)); |