@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | |
50 | 50 | $configuration = InputHandler::handleInput($input); |
51 | 51 | if ($output->getVerbosity() >= OutputInterface::VERBOSITY_VERY_VERBOSE) { |
52 | - $output->writeln(PHP_EOL . sprintf( |
|
52 | + $output->writeln(PHP_EOL.sprintf( |
|
53 | 53 | 'Configuration file loaded: %s', |
54 | 54 | $configuration->getFilename() |
55 | 55 | )); |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | |
58 | 58 | $suiteList = TestSuiteLoader::loadSuite($configuration); |
59 | 59 | if (!count($suiteList)) { |
60 | - $output->writeln(PHP_EOL . 'No tests found to validate.'); |
|
60 | + $output->writeln(PHP_EOL.'No tests found to validate.'); |
|
61 | 61 | return 0; |
62 | 62 | } |
63 | 63 | |
@@ -74,10 +74,10 @@ discard block |
||
74 | 74 | |
75 | 75 | $testClass = get_class($suite); |
76 | 76 | $testMethod = $suite->getName(); |
77 | - $testSignature = $testClass . '::' . $testMethod; |
|
77 | + $testSignature = $testClass.'::'.$testMethod; |
|
78 | 78 | |
79 | 79 | if ($output->getVerbosity() >= OutputInterface::VERBOSITY_DEBUG) { |
80 | - $this->writeValidity($output, 'Validating ' . $testSignature . '...'); |
|
80 | + $this->writeValidity($output, 'Validating '.$testSignature.'...'); |
|
81 | 81 | } |
82 | 82 | |
83 | 83 | $isValid = Validator::isValidMethod( |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | { |
17 | 17 | $configurationFile = static::CONFIG_FILENAME; |
18 | 18 | if (is_dir($configOption)) { |
19 | - $configurationFile = $configOption . DIRECTORY_SEPARATOR . $configurationFile; |
|
19 | + $configurationFile = $configOption.DIRECTORY_SEPARATOR.$configurationFile; |
|
20 | 20 | } |
21 | 21 | if (file_exists($configOption) && is_file($configOption)) { |
22 | 22 | return realpath($configOption); |
@@ -24,8 +24,8 @@ discard block |
||
24 | 24 | if (file_exists($configurationFile)) { |
25 | 25 | return realpath($configurationFile); |
26 | 26 | } |
27 | - if (file_exists($configurationFile . '.dist')) { |
|
28 | - return realpath($configurationFile . '.dist'); |
|
27 | + if (file_exists($configurationFile.'.dist')) { |
|
28 | + return realpath($configurationFile.'.dist'); |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | return null; |
@@ -11,7 +11,7 @@ |
||
11 | 11 | */ |
12 | 12 | public static function loadFile($filename) |
13 | 13 | { |
14 | - if ( class_exists( \PHPUnit\Util\FileLoader::class ) ) { |
|
14 | + if (class_exists(\PHPUnit\Util\FileLoader::class)) { |
|
15 | 15 | // PHPUnit 7.x+ |
16 | 16 | \PHPUnit\Util\FileLoader::checkAndLoad($filename); |
17 | 17 | } |
@@ -14,8 +14,7 @@ |
||
14 | 14 | if ( class_exists( \PHPUnit\Util\FileLoader::class ) ) { |
15 | 15 | // PHPUnit 7.x+ |
16 | 16 | \PHPUnit\Util\FileLoader::checkAndLoad($filename); |
17 | - } |
|
18 | - else { |
|
17 | + } else { |
|
19 | 18 | // PHPUnit 6.x- |
20 | 19 | \PHPUnit\Util\Fileloader::checkAndLoad($filename); |
21 | 20 | } |