@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | $phpExecutable = $this->getPhpExecutable(); |
| 72 | 72 | $command = \array_merge([$phpExecutable], $this->getAssessorArguments()); |
| 73 | 73 | |
| 74 | - return static function (File $file) use ($command): CyclomaticComplexityInterface { |
|
| 74 | + return static function(File $file) use ($command): CyclomaticComplexityInterface { |
|
| 75 | 75 | $command[] = $file->getFullPath(); |
| 76 | 76 | $process = new Process($command); |
| 77 | 77 | |
@@ -100,6 +100,6 @@ discard block |
||
| 100 | 100 | return [Phar::running(false), 'assess-complexity']; |
| 101 | 101 | } |
| 102 | 102 | |
| 103 | - return [__DIR__ . '/../../bin/CyclomaticComplexityAssessorRunner']; |
|
| 103 | + return [__DIR__.'/../../bin/CyclomaticComplexityAssessorRunner']; |
|
| 104 | 104 | } |
| 105 | 105 | } |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | return new Config(); |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | - throw new InvalidArgumentException('The configuration file can not be read at ' . $originalConfPath); |
|
| 48 | + throw new InvalidArgumentException('The configuration file can not be read at '.$originalConfPath); |
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | /** |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | private static function normalizePath(string $confPath) |
| 56 | 56 | { |
| 57 | 57 | if (\is_dir($confPath)) { |
| 58 | - $confPath = \rtrim($confPath, '/\\') . '/churn.yml'; |
|
| 58 | + $confPath = \rtrim($confPath, '/\\').'/churn.yml'; |
|
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | return \realpath($confPath); |