Completed
Push — master ( c1ea2c...b59c95 )
by Bill
03:43 queued 02:12
created
src/Factories/ProcessFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     public function createGitCommitProcess(File $file): ChurnProcess
27 27
     {
28 28
         $process = new Process(
29
-            'git -C ' . getcwd() . " log --since=\"" . $this->config->getCommitsSince() . "\"  --name-only --pretty=format: " . $file->getFullPath(). " | sort | uniq -c | sort -nr"
29
+            'git -C '.getcwd()." log --since=\"".$this->config->getCommitsSince()."\"  --name-only --pretty=format: ".$file->getFullPath()." | sort | uniq -c | sort -nr"
30 30
         );
31 31
 
32 32
         return new ChurnProcess($file, $process, 'GitCommitProcess');
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      */
40 40
     public function createCyclomaticComplexityProcess(File $file): ChurnProcess
41 41
     {
42
-        $rootFolder = __DIR__ . '/../../';
42
+        $rootFolder = __DIR__.'/../../';
43 43
 
44 44
         $process = new Process(
45 45
             "php {$rootFolder}CyclomaticComplexityAssessorRunner {$file->getFullPath()}"
Please login to merge, or discard this patch.
src/Commands/ChurnCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     public function __construct()
54 54
     {
55 55
         parent::__construct();
56
-        $this->config = new Config(Yaml::parse(@file_get_contents(getcwd() . '/churn.yml')) ?? []);
56
+        $this->config = new Config(Yaml::parse(@file_get_contents(getcwd().'/churn.yml')) ?? []);
57 57
         $this->fileManager = new FileManager($this->config);
58 58
         $this->processFactory = new ProcessFactory($this->config);
59 59
         $this->resultsParser = new ResultsParser;
@@ -142,6 +142,6 @@  discard block
 block discarded – undo
142 142
             $table->addRow($result->toArray());
143 143
         }
144 144
         $table->render();
145
-        echo "  " . $this->filesCount . " files analysed in {$totalTime} seconds using " . $this->config->getParallelJobs() .  " parallel jobs.\n\n";
145
+        echo "  ".$this->filesCount." files analysed in {$totalTime} seconds using ".$this->config->getParallelJobs()." parallel jobs.\n\n";
146 146
     }
147 147
 }
Please login to merge, or discard this patch.