Completed
Pull Request — master (#87)
by
unknown
01:43
created
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 $result) {
15
+        return $this->sortByDesc(function(Result $result) {
16 16
             return $result->getScore();
17 17
         });
18 18
     }
Please login to merge, or discard this patch.
src/Commands/ChurnCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     public function __construct()
80 80
     {
81 81
         parent::__construct();
82
-        $this->setConfig(new Config(Yaml::parse(@file_get_contents(getcwd() . '/churn.yml')) ?? []));
82
+        $this->setConfig(new Config(Yaml::parse(@file_get_contents(getcwd().'/churn.yml')) ?? []));
83 83
         $this->fileManager = new FileManager($this->config);
84 84
         $this->processFactory = new ProcessFactory($this->config);
85 85
         $this->resultsParser = new ResultsParser;
@@ -214,10 +214,10 @@  discard block
 block discarded – undo
214 214
      */
215 215
     private function filterByMinScore(): \Closure
216 216
     {
217
-        return function (ResultCollection $results) {
217
+        return function(ResultCollection $results) {
218 218
             $minScore = $this->config->getMinScoreToShow();
219 219
 
220
-            return $results->filter(function (Result $result) use ($minScore) {
220
+            return $results->filter(function(Result $result) use ($minScore) {
221 221
                 return $result->getScore() >= $minScore;
222 222
             });
223 223
         };
Please login to merge, or discard this patch.