@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | if ($dependsPatterns) { |
26 | 26 | $matches = array_filter( |
27 | 27 | array_keys($dependsPatterns), |
28 | - function ($pattern) use ($target) { |
|
28 | + function($pattern) use ($target) { |
|
29 | 29 | return preg_match('#' . $pattern . '#', $target); |
30 | 30 | } |
31 | 31 | ); |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | } |
66 | 66 | } |
67 | 67 | |
68 | - $patterns = array_map(function ($candidate) { |
|
68 | + $patterns = array_map(function($candidate) { |
|
69 | 69 | return trim($candidate, '*') |
70 | 70 | ? str_replace(chr(32), '.*', preg_quote(str_replace('*', chr(32), $candidate), '#')) |
71 | 71 | : preg_quote($candidate); |
@@ -257,7 +257,7 @@ |
||
257 | 257 | |
258 | 258 | private function normalizeDependencies($dependsList) |
259 | 259 | { |
260 | - $dependsNormalized = array_map(function ($item) { |
|
260 | + $dependsNormalized = array_map(function($item) { |
|
261 | 261 | $valueParts = explode(':', $item); |
262 | 262 | |
263 | 263 | return array( |