Completed
Push — master ( 557fca...fd360d )
by Daniel
01:43
created
lib/Adapter/Composer/ComposerClassToFile.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,12 +36,12 @@  discard block
 block discarded – undo
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
 block discarded – undo
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',
Please login to merge, or discard this patch.