Passed
Push — php84 ( 0209c4 )
by Akihito
02:31
created
src/Psr4List.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,11 +46,11 @@
 block discarded – undo
46 46
             $file = $item->getPathname();
47 47
             $namePath = str_replace('/', '\\', substr(substr($file, strlen($path) + 1), 0, -4));
48 48
             $class = $prefix . '\\' . $namePath;
49
-            if (! class_exists($class) && ! interface_exists($class)) {
49
+            if ( ! class_exists($class) && ! interface_exists($class)) {
50 50
                 continue;
51 51
             }
52 52
 
53
-            yield [$class, $file];
53
+            yield [ $class, $file ];
54 54
         }
55 55
     }
56 56
 
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
@@ -27,7 +27,7 @@
 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 = $a->getPathname();
32 32
                 $pathB = $b->getPathname();
33 33
                 $cntA = count(explode('/', $pathA));
Please login to merge, or discard this patch.