Completed
Push — master ( 435459...eb0b35 )
by Bill
05:19 queued 03:53
created
src/Assessors/CyclomaticComplexity/CyclomaticComplexityAssessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     {
50 50
         preg_match("/[ ]function[ ]/", $contents, $matches);
51 51
         if (isset($matches[0])) {
52
-            $this->score ++;
52
+            $this->score++;
53 53
         }
54 54
     }
55 55
 
Please login to merge, or discard this patch.
src/Commands/ChurnCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     /**
53 53
      * Displays the results in a table.
54 54
      * @param  OutputInterface                $output  Output.
55
-     * @param  Churn\Results\ResultCollection $results Results Collection.
55
+     * @param  ResultCollection $results Results Collection.
56 56
      * @return void
57 57
      */
58 58
     protected function displayResults(OutputInterface $output, ResultCollection $results)
Please login to merge, or discard this patch.
src/Results/ResultCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function orderByScoreDesc(): self
14 14
     {
15
-        return $this->sortByDesc(function ($result) {
15
+        return $this->sortByDesc(function($result) {
16 16
             return $result->getScore();
17 17
         });
18 18
     }
Please login to merge, or discard this patch.
src/Factories/ProcessFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
     public function createGitCommitProcess(File $file): ChurnProcess
17 17
     {
18 18
         $process = new Process(
19
-            'git -C ' . getcwd() . " log --name-only --pretty=format: " . $file->getFullPath(). " | sort | uniq -c | sort -nr"
19
+            'git -C '.getcwd()." log --name-only --pretty=format: ".$file->getFullPath()." | sort | uniq -c | sort -nr"
20 20
         );
21 21
 
22 22
         return new ChurnProcess($file, $process, 'GitCommitProcess');
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function createCyclomaticComplexityProcess(File $file): ChurnProcess
31 31
     {
32
-        $rootFolder = __DIR__ . '/../../';
32
+        $rootFolder = __DIR__.'/../../';
33 33
 
34 34
         $process = new Process(
35 35
             "php {$rootFolder}CyclomaticComplexityAssessorRunner {$file->getFullPath()}"
Please login to merge, or discard this patch.
src/Processes/ChurnProcess.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
      */
71 71
     public function getKey(): string
72 72
     {
73
-        return $this->getType() . $this->file->getFullPath();
73
+        return $this->getType().$this->file->getFullPath();
74 74
     }
75 75
 
76 76
     /**
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
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     {
61 61
         $output = $process->getOutput();
62 62
         preg_match("/([0-9]{1,})/", $output, $matches);
63
-        if (! isset($matches[1])) {
63
+        if (!isset($matches[1])) {
64 64
             return 0;
65 65
         }
66 66
         return (integer) $matches[1];
Please login to merge, or discard this patch.