@@ -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 | } |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | return Config::createFromDefaultValues(); |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - throw new InvalidArgumentException('The configuration file can not be read at ' . $originalConfPath); |
|
| 36 | + throw new InvalidArgumentException('The configuration file can not be read at '.$originalConfPath); |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | /** |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | private static function normalizePath(string $confPath) |
| 44 | 44 | { |
| 45 | 45 | if (\is_dir($confPath)) { |
| 46 | - $confPath = \rtrim($confPath, '/\\') . '/churn.yml'; |
|
| 46 | + $confPath = \rtrim($confPath, '/\\').'/churn.yml'; |
|
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | return \realpath($confPath); |