Completed
Branch master (438e3a)
by Daniel
04:57
created
Category
lib/Adapter/Composer/ComposerFileToClass.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,14 +79,14 @@
 block discarded – undo
79 79
             //
80 80
             // TODO: realpath will return void if the path does not exist
81 81
             //       we should not depend on the file path existing.
82
-            $pathPrefixes = array_map(function ($pathPrefix) {
82
+            $pathPrefixes = array_map(function($pathPrefix) {
83 83
                 return realpath($pathPrefix);
84 84
             }, $pathPrefixes);
85 85
 
86 86
             foreach ($pathPrefixes as $pathPrefix) {
87 87
 
88 88
                 if ((string) $filePath == $pathPrefix) {
89
-                    $candidates[] = [ $pathPrefix, $classPrefix ];
89
+                    $candidates[] = [$pathPrefix, $classPrefix];
90 90
                     continue;
91 91
                 }
92 92
 
Please login to merge, or discard this patch.
lib/Adapter/Composer/ComposerClassToFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 
83 83
         foreach ($prefixes as $prefix => $files) {
84 84
             $files = (array) $files;
85
-            $files = array_map(function ($file) {
85
+            $files = array_map(function($file) {
86 86
                 if (!file_exists($file)) {
87 87
                     $this->logger->warning(sprintf(
88 88
                         'Composer mapped directory "%s" does not exist', $file
Please login to merge, or discard this patch.