Passed
Push — master ( 9645f3...34dd33 )
by Konstantinos
01:59
created
src/Runner/Runner.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,17 +50,17 @@
 block discarded – undo
50 50
     {
51 51
         $files = $this->options
52 52
             ->getFiles()
53
-            ->map(function (SplFileInfo $file) {
53
+            ->map(function(SplFileInfo $file) {
54 54
                 $this->fireFileProcessedEvent($file);
55 55
                 return $this->evaluator->check($file, $this->options->getPrefix(), $this->options->isSkipEmpty());
56 56
             })
57
-            ->reject(function (Result $result) {
57
+            ->reject(function(Result $result) {
58 58
                 return $result->isValid();
59 59
             })
60 60
             ->values();
61 61
 
62 62
         if (!$this->options->isDryRun()) {
63
-            $files->each(function ($file) {
63
+            $files->each(function($file) {
64 64
                 $this->fixer->fix($file);
65 65
             });
66 66
         }
Please login to merge, or discard this patch.
src/Console/Command.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         parent::__construct($name);
34 34
 
35 35
         $this->dispatcher = new EventDispatcher();
36
-        $this->dispatcher->addListener(FileProcessedEvent::class, function (FileProcessedEvent $event) {
36
+        $this->dispatcher->addListener(FileProcessedEvent::class, function(FileProcessedEvent $event) {
37 37
             $this->progressBar->setMessage($event->getFile()->getRelativePathname(), 'filename');
38 38
             $this->progressBar->advance();
39 39
         });
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             )
87 87
         );
88 88
 
89
-        $problematicFiles->each(function (Result $result, $key) use ($output) {
89
+        $problematicFiles->each(function(Result $result, $key) use ($output) {
90 90
             $output->writeln(sprintf("%d) %s:", $key + 1, $result->getFile()->getRelativePathname()));
91 91
             $output->writeln(sprintf("\t<fg=red>- %s</>", $result->getExpected()));
92 92
             $output->writeln(sprintf("\t<fg=green>+ %s</>", $result->getActual()));
Please login to merge, or discard this patch.