@@ -82,12 +82,12 @@ discard block |
||
| 82 | 82 | { |
| 83 | 83 | return new ArrayIterator( |
| 84 | 84 | array_map( |
| 85 | - function (string $path) : SplFileInfo { |
|
| 85 | + function(string $path) : SplFileInfo { |
|
| 86 | 86 | return new SplFileInfo($path); |
| 87 | 87 | }, |
| 88 | 88 | array_filter( |
| 89 | 89 | $paths, |
| 90 | - function (string $path) : bool { |
|
| 90 | + function(string $path) : bool { |
|
| 91 | 91 | return is_readable($path); |
| 92 | 92 | } |
| 93 | 93 | ) |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | if (!empty($excludePatterns)) { |
| 159 | 159 | array_walk( |
| 160 | 160 | $excludePatterns, |
| 161 | - function (string &$item) { |
|
| 161 | + function(string &$item) { |
|
| 162 | 162 | $item = preg_quote(str_replace('\\', '/', $item), '@'); |
| 163 | 163 | } |
| 164 | 164 | ); |