Completed
Push — master ( e0f7b9...b2ee71 )
by Bill
02:20
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/Assessors/GitCommitCount/GitCommitCountAssessor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         $command = $this->buildCommand($filePath);
32 32
 
33 33
         $result = $this->commandService->execute($command);
34
-        if (! isset($result[0])) {
34
+        if (!isset($result[0])) {
35 35
             return 0;
36 36
         }
37 37
         $result = trim($result[0]);
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     {
49 49
         $commandTemplate = "git log --name-only --pretty=format: %s | sort | uniq -c | sort -nr";
50 50
 
51
-        $pos =strrpos($filePath, '/');
51
+        $pos = strrpos($filePath, '/');
52 52
         if ($pos) {
53 53
             $folder = substr($filePath, 0, $pos);
54 54
             $commandTemplate = "cd {$folder} && git log --name-only --pretty=format: %s | sort | uniq -c | sort -nr";
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.