@@ -36,12 +36,12 @@ discard block |
||
36 | 36 | } |
37 | 37 | |
38 | 38 | // order with the longest prefixes first |
39 | - uksort($candidates, function ($prefix1, $prefix2) { |
|
39 | + uksort($candidates, function($prefix1, $prefix2) { |
|
40 | 40 | return strlen($prefix2) <=> strlen($prefix1); |
41 | 41 | }); |
42 | 42 | |
43 | 43 | // flatten to a single array |
44 | - $candidates = array_reduce($candidates, function ($candidates, $paths) { |
|
44 | + $candidates = array_reduce($candidates, function($candidates, $paths) { |
|
45 | 45 | return array_merge($candidates, $paths); |
46 | 46 | }, []); |
47 | 47 | |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | } |
113 | 113 | |
114 | 114 | $paths = (array) $paths; |
115 | - $paths = array_map(function ($path) { |
|
115 | + $paths = array_map(function($path) { |
|
116 | 116 | if (!file_exists($path)) { |
117 | 117 | $this->logger->warning(sprintf( |
118 | 118 | 'Composer mapped path "%s" does not exist', |