Passed
Push — master ( 3216e8...6ae08c )
by Fabien
02:06
created
src/Renderers/Results/CsvResultsRenderer.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\Renderers\Results;
4 4
 
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
         $output->writeln($this->getHeader());
19 19
 
20 20
         foreach ($results->toArray() as $result) {
21
-            $output->writeln(implode(';', [ '"'.$result[0].'"', $result[1], $result[2], $result[3] ]));
21
+            $output->writeln(implode(';', ['"'.$result[0].'"', $result[1], $result[2], $result[3]]));
22 22
         };
23 23
     }
24 24
 
Please login to merge, or discard this patch.
src/Renderers/Results/ConsoleResultsRenderer.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\Renderers\Results;
4 4
 
Please login to merge, or discard this patch.
src/Renderers/Results/ResultsRendererInterface.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\Renderers\Results;
4 4
 
Please login to merge, or discard this patch.
src/Renderers/Results/JsonResultsRenderer.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
 
4 4
 namespace Churn\Renderers\Results;
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      */
17 17
     public function render(OutputInterface $output, ResultCollection $results): void
18 18
     {
19
-        $data = array_map(function (array $result) {
19
+        $data = array_map(function(array $result) {
20 20
             return [
21 21
                 'file' => $result[0],
22 22
                 'commits' => $result[1],
Please login to merge, or discard this patch.
src/Results/ResultsParser.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\Results;
4 4
 
Please login to merge, or discard this patch.
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.