Completed
Push — master ( a2d586...537983 )
by Daniel
04:11
created
lib/Adapter/Composer/ComposerClassToFile.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,12 +37,12 @@  discard block
 block discarded – undo
37 37
         }
38 38
 
39 39
         // order with the longest prefixes first
40
-        uksort($candidates, function ($prefix1, $prefix2) {
40
+        uksort($candidates, function($prefix1, $prefix2) {
41 41
             return strlen($prefix2) <=> strlen($prefix1);
42 42
         });
43 43
 
44 44
         // flatten to a single array
45
-        $candidates = array_reduce($candidates, function ($candidates, $paths) {
45
+        $candidates = array_reduce($candidates, function($candidates, $paths) {
46 46
             return array_merge($candidates, $paths);
47 47
         }, []);
48 48
 
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
         foreach ($prefixes as $prefix => $paths) {
102 102
             $paths = (array) $paths;
103
-            $paths = array_map(function ($path) {
103
+            $paths = array_map(function($path) {
104 104
                 if (!file_exists($path)) {
105 105
                     $this->logger->warning(sprintf(
106 106
                         'Composer mapped path "%s" does not exist', $path
Please login to merge, or discard this patch.