Passed
Push — php84 ( 0209c4...1f307a )
by Akihito
01:41
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   +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.