|
@@ -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.