Passed
Push — main ( 7cb561...8aa2e0 )
by Breno
01:52
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.
src/Finder/ComposerClassMap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         }
36 36
 
37 37
         $classLoader = require($this->composerAutoloadPath);
38
-        if (! $classLoader instanceof ClassLoader) {
38
+        if (!$classLoader instanceof ClassLoader) {
39 39
             throw new InvalidArgumentException(
40 40
                 sprintf(
41 41
                     "Cannot get Composer class map. Invalid composer autoload: %s.",
Please login to merge, or discard this patch.