Passed
Pull Request — master (#6)
by Akihito
03:16 queued 01:39
created
src/Psr4List.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,13 +29,13 @@
 block discarded – undo
29 29
     {
30 30
         foreach ($this->files($path) as $item) {
31 31
             $file = $item->getPathname();
32
-            $namePath = str_replace('/', '\\' , substr(substr($file, strlen($path) + 1), 0, -4));
32
+            $namePath = str_replace('/', '\\', substr(substr($file, strlen($path) + 1), 0, -4));
33 33
             $class = $prefix . '\\' . $namePath;
34
-            if (! class_exists($class) && ! interface_exists($class)) {
34
+            if ( ! class_exists($class) && ! interface_exists($class)) {
35 35
                 continue;
36 36
             }
37 37
 
38
-            yield [$class, $file];
38
+            yield [ $class, $file ];
39 39
         }
40 40
     }
41 41
 
Please login to merge, or discard this patch.
src/SortingIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
             /**
31 31
              * @return int
32 32
              */
33
-            function (SplFileInfo $a, SplFileInfo $b) {
33
+            function(SplFileInfo $a, SplFileInfo $b) {
34 34
                 $pathA = $a->getPathname();
35 35
                 $pathB = $b->getPathname();
36 36
                 $cntA = count(explode('/', $pathA));
Please login to merge, or discard this patch.