Passed
Push — master ( d475b6...1e5be3 )
by Fabien
02:11
created
src/Process/ProcessHandlerFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Process;
4 4
 
Please login to merge, or discard this patch.
src/Process/ChurnProcess.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Process;
4 4
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      */
98 98
     public function getKey(): string
99 99
     {
100
-        return $this->getType() . $this->file->getFullPath();
100
+        return $this->getType().$this->file->getFullPath();
101 101
     }
102 102
 
103 103
     /**
Please login to merge, or discard this patch.
src/Process/ProcessFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Process;
4 4
 
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     public function createCyclomaticComplexityProcess(File $file): ChurnProcess
49 49
     {
50 50
         $php = (new PhpExecutableFinder())->find();
51
-        $script = __DIR__ . '/../../bin/CyclomaticComplexityAssessorRunner';
51
+        $script = __DIR__.'/../../bin/CyclomaticComplexityAssessorRunner';
52 52
         $process = new Process([$php, $script, $file->getFullPath()]);
53 53
 
54 54
         return new ChurnProcess($file, $process, 'CyclomaticComplexityProcess');
Please login to merge, or discard this patch.
src/Process/Handler/SequentialProcessHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Process\Handler;
4 4
 
Please login to merge, or discard this patch.
src/Process/Observer/OnSuccess.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Process\Observer;
4 4
 
Please login to merge, or discard this patch.
src/Commands/ChurnCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Commands;
4 4
 
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
  */
28 28
 class ChurnCommand extends Command
29 29
 {
30
-    private const LOGO ="
30
+    private const LOGO = "
31 31
     ___  _   _  __  __  ____  _  _     ____  _   _  ____
32 32
    / __)( )_( )(  )(  )(  _ \( \( )___(  _ \( )_( )(  _ \
33 33
   ( (__  ) _ (  )(__)(  )   / )  ((___))___/ ) _ (  )___/
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         }
131 131
 
132 132
         throw new InvalidArgumentException(
133
-            'Provide the directories you want to scan as arguments, ' .
133
+            'Provide the directories you want to scan as arguments, '.
134 134
             'or configure them under "directoriesToScan" in your churn.yml file.'
135 135
         );
136 136
     }
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     private function getOnSuccessObserver(InputInterface $input, OutputInterface $output, int $totalFiles): OnSuccess
145 145
     {
146
-        if ((bool)$input->getOption('progress')) {
146
+        if ((bool) $input->getOption('progress')) {
147 147
             $output->writeln("\n");
148 148
             $progressBar = new ProgressBar($output, $totalFiles);
149 149
             $progressBar->start();
Please login to merge, or discard this patch.
src/Process/Handler/ParallelProcessHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Process\Handler;
4 4
 
Please login to merge, or discard this patch.
src/Process/Handler/ProcessHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Process\Handler;
4 4
 
Please login to merge, or discard this patch.
src/Process/Observer/OnSuccessNull.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Process\Observer;
4 4
 
Please login to merge, or discard this patch.