Completed
Push — master ( 1c88e3...32ca0f )
by Bill
10:52 queued 10:52
created
src/Assessors/CyclomaticComplexity/CyclomaticComplexityAssessor.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\Assessors\CyclomaticComplexity;
4 4
 
Please login to merge, or discard this patch.
src/Logic/ResultsLogic.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\Logic;
4 4
 
Please login to merge, or discard this patch.
src/Collections/FileCollection.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\Collections;
4 4
 
Please login to merge, or discard this patch.
src/Processes/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
 
4 4
 namespace Churn\Processes;
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      */
83 83
     public function getKey(): string
84 84
     {
85
-        return $this->getType() . $this->file->getFullPath();
85
+        return $this->getType().$this->file->getFullPath();
86 86
     }
87 87
 
88 88
     /**
Please login to merge, or discard this patch.
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/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)
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/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/Factories/ProcessFactory.php 1 patch
Spacing   +6 added lines, -6 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\Factories;
4 4
 
@@ -33,10 +33,10 @@  discard block
 block discarded – undo
33 33
         $process = new Process(
34 34
             [
35 35
                 'git',
36
-                '-C ' . escapeshellarg(getcwd()) . ' log',
37
-                '--since=' . escapeshellarg($this->commitsSince),
36
+                '-C '.escapeshellarg(getcwd()).' log',
37
+                '--since='.escapeshellarg($this->commitsSince),
38 38
                 '--name-only',
39
-                '--pretty=format: ' . escapeshellarg($file->getFullPath()),
39
+                '--pretty=format: '.escapeshellarg($file->getFullPath()),
40 40
                 '| sort | uniq -c | sort -nr'
41 41
             ]
42 42
         );
@@ -51,11 +51,11 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function createCyclomaticComplexityProcess(File $file): ChurnProcess
53 53
     {
54
-        $rootFolder = __DIR__ . '/../../bin/';
54
+        $rootFolder = __DIR__.'/../../bin/';
55 55
 
56 56
         $process = new Process(
57 57
             [
58
-                'php ' . escapeshellarg($rootFolder . 'CyclomaticComplexityAssessorRunner'),
58
+                'php '.escapeshellarg($rootFolder.'CyclomaticComplexityAssessorRunner'),
59 59
                 escapeshellarg($file->getFullPath())
60 60
             ]
61 61
         );
Please login to merge, or discard this patch.