Passed
Push — main ( 4eefde...0fa4d1 )
by Breno
04:06 queued 01:17
created
src/Repository/FilesFromDir.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,7 @@
 block discarded – undo
22 22
     {
23 23
         $directoryIterator =
24 24
             $recursive ?
25
-            new RecursiveIteratorIterator(new RecursiveDirectoryIterator($directory)) :
26
-            new DirectoryIterator($directory);
25
+            new RecursiveIteratorIterator(new RecursiveDirectoryIterator($directory)) : new DirectoryIterator($directory);
27 26
 
28 27
         $this->iterator = new RegexIterator($directoryIterator, $pattern);
29 28
     }
Please login to merge, or discard this patch.
src/Finder/Decorator/FilteringFqcnFinder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     public function find(): array
34 34
     {
35 35
         return
36
-            array_filter($this->fqcnFinder->find(), function (string $fqcn) {
36
+            array_filter($this->fqcnFinder->find(), function(string $fqcn) {
37 37
                 return $this->specification->isSatisfiedBy($fqcn);
38 38
             });
39 39
     }
Please login to merge, or discard this patch.
src/Finder/FqcnFinder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 
51 51
             if ($this->hasClassName($tokens, $i)) {
52 52
                 $className[] = $this->getClassName($tokens, $i);
53
-                return implode('\\', $className);  // one class per file (psr-4 compliant)
53
+                return implode('\\', $className); // one class per file (psr-4 compliant)
54 54
             }
55 55
         }
56 56
 
Please login to merge, or discard this patch.