@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | public function createGitCommitProcess(File $file): ChurnProcess |
| 33 | 33 | { |
| 34 | 34 | $process = new Process( |
| 35 | - 'git -C ' . getcwd() . " log --since=\"" . $this->config->getCommitsSince() . "\" --name-only --pretty=format: " . $file->getFullPath(). " | sort | uniq -c | sort -nr" |
|
| 35 | + 'git -C '.getcwd()." log --since=\"".$this->config->getCommitsSince()."\" --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 |
||
| 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()}" |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -if (is_file($autoload = __DIR__ . '/../vendor/autoload.php')) { |
|
| 3 | +if (is_file($autoload = __DIR__.'/../vendor/autoload.php')) { |
|
| 4 | 4 | require_once($autoload); |
| 5 | -} elseif (is_file($autoload = __DIR__ . '/../../../autoload.php')) { |
|
| 5 | +} elseif (is_file($autoload = __DIR__.'/../../../autoload.php')) { |
|
| 6 | 6 | require_once($autoload); |
| 7 | 7 | } else { |
| 8 | 8 | fwrite(STDERR, |