Passed
Push — master ( 1a3086...8b0c82 )
by Akihito
02:49 queued 01:06
created
src/SortingIterator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,9 +27,9 @@
 block discarded – undo
27 27
         usort(
28 28
             $array,
29 29
             /** @return int */
30
-            static function (SplFileInfo $a, SplFileInfo $b) {
30
+            static function(SplFileInfo $a, SplFileInfo $b) {
31 31
                 $pathA = str_replace('\\', '/', $a->getPathname());
32
-                $pathB = str_replace('\\', '/', $b->getPathname());                $cntA = count(explode('/', $pathA));
32
+                $pathB = str_replace('\\', '/', $b->getPathname()); $cntA = count(explode('/', $pathA));
33 33
                 $cntB = count(explode('/', $pathB));
34 34
                 if ($cntA !== $cntB) {
35 35
                     return $cntA > $cntB ? 1 : -1;
Please login to merge, or discard this patch.
src/Psr4List.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,11 +42,11 @@
 block discarded – undo
42 42
             $file = str_replace('\\', '/', $item->getPathname());
43 43
             $namePath = str_replace('/', '\\', substr(substr($file, strlen($path) + 1), 0, -4));
44 44
             $class = $prefix . '\\' . $namePath;
45
-            if (! class_exists($class) && ! interface_exists($class)) {
45
+            if ( ! class_exists($class) && ! interface_exists($class)) {
46 46
                 continue;
47 47
             }
48 48
 
49
-            yield [$class, $file];
49
+            yield [ $class, $file ];
50 50
         }
51 51
     }
52 52
 
Please login to merge, or discard this patch.