Completed
Pull Request — master (#165)
by Rokas
01:26
created
src/Managers/ProcessManager.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,8 +56,8 @@
 block discarded – undo
56 56
     private function getProcessResults(int $numberOfParallelJobs)
57 57
     {
58 58
         for ($index = $this->runningProcesses->count();
59
-             $this->filesCollection->hasFiles() > 0 && $index < $numberOfParallelJobs;
60
-             $index++) {
59
+                $this->filesCollection->hasFiles() > 0 && $index < $numberOfParallelJobs;
60
+                $index++) {
61 61
             $file = $this->filesCollection->getNextFile();
62 62
 
63 63
             $process = $this->processFactory->createGitCommitProcess($file);
Please login to merge, or discard this patch.
src/Factories/ProcessFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@  discard block
 block discarded – undo
31 31
     public function createGitCommitProcess(File $file): ChurnProcess
32 32
     {
33 33
         $process = new Process(
34
-            'git -C ' . getcwd() . " log --since=\"" . $this->commitsSince .
35
-            "\"  --name-only --pretty=format: " . $file->getFullPath(). " | sort | uniq -c | sort -nr"
34
+            'git -C '.getcwd()." log --since=\"".$this->commitsSince.
35
+            "\"  --name-only --pretty=format: ".$file->getFullPath()." | sort | uniq -c | sort -nr"
36 36
         );
37 37
 
38 38
         return new ChurnProcess($file, $process, 'GitCommitProcess');
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     public function createCyclomaticComplexityProcess(File $file): ChurnProcess
47 47
     {
48
-        $rootFolder = __DIR__ . '/../../bin/';
48
+        $rootFolder = __DIR__.'/../../bin/';
49 49
 
50 50
         $process = new Process(
51 51
             "php {$rootFolder}CyclomaticComplexityAssessorRunner {$file->getFullPath()}"
Please login to merge, or discard this patch.