Completed
Pull Request — master (#84)
by
unknown
02:18
created
src/Commands/ChurnCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     public function __construct()
78 78
     {
79 79
         parent::__construct();
80
-        $this->config = new Config(Yaml::parse(@file_get_contents(getcwd() . '/churn.yml')) ?? []);
80
+        $this->config = new Config(Yaml::parse(@file_get_contents(getcwd().'/churn.yml')) ?? []);
81 81
         $this->fileManager = new FileManager($this->config);
82 82
         $this->processFactory = new ProcessFactory($this->config);
83 83
         $this->resultsParser = new ResultsParser($this->config);
@@ -166,6 +166,6 @@  discard block
 block discarded – undo
166 166
             $table->addRow($result->toArray());
167 167
         }
168 168
         $table->render();
169
-        echo "  " . $this->filesCount . " files analysed in {$totalTime} seconds using " . $this->config->getParallelJobs() .  " parallel jobs.\n\n";
169
+        echo "  ".$this->filesCount." files analysed in {$totalTime} seconds using ".$this->config->getParallelJobs()." parallel jobs.\n\n";
170 170
     }
171 171
 }
Please login to merge, or discard this patch.
src/Results/Result.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
         ];
82 82
         $formula = str_replace(array_keys($replacement), $replacement, $this->config->getFormula());
83 83
 
84
-        return eval('return ' . $formula . ';');
84
+        return eval('return '.$formula.';');
85 85
     }
86 86
 
87 87
     /**
Please login to merge, or discard this patch.