@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Paraunit\Configuration; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Paraunit\Configuration; |
| 5 | 5 | |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | $configFile .= DIRECTORY_SEPARATOR . self::DEFAULT_FILE_NAME; |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | - if (! is_file($configFile) || ! is_readable($configFile)) { |
|
| 95 | + if ( ! is_file($configFile) || ! is_readable($configFile)) { |
|
| 96 | 96 | throw new \InvalidArgumentException('Config file ' . $configFile . ' does not exist or is not readable'); |
| 97 | 97 | } |
| 98 | 98 | |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | $logListenerNode->appendChild($argumentsNode); |
| 158 | 158 | |
| 159 | 159 | $listenersNode = $rootNode->getElementsByTagName('listeners')->item(0); |
| 160 | - if (! $listenersNode) { |
|
| 160 | + if ( ! $listenersNode) { |
|
| 161 | 161 | $listenersNode = $document->createElement('listeners'); |
| 162 | 162 | $rootNode->appendChild($listenersNode); |
| 163 | 163 | } |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Paraunit\Parser\JSON; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Paraunit\Parser\JSON; |
| 5 | 5 | |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | |
| 63 | 63 | protected function logMatches(\stdClass $log): bool |
| 64 | 64 | { |
| 65 | - if (! property_exists($log, 'status')) { |
|
| 65 | + if ( ! property_exists($log, 'status')) { |
|
| 66 | 66 | return false; |
| 67 | 67 | } |
| 68 | 68 | |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | return true; |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | - if (! property_exists($log, 'message')) { |
|
| 77 | + if ( ! property_exists($log, 'message')) { |
|
| 78 | 78 | return false; |
| 79 | 79 | } |
| 80 | 80 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Paraunit\Parser\JSON; |
| 5 | 5 | |
@@ -84,11 +84,11 @@ discard block |
||
| 84 | 84 | return; |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | - if (! property_exists($logItem, 'suite')) { |
|
| 87 | + if ( ! property_exists($logItem, 'suite')) { |
|
| 88 | 88 | return; |
| 89 | 89 | } |
| 90 | 90 | |
| 91 | - if (! property_exists($logItem, 'test')) { |
|
| 91 | + if ( ! property_exists($logItem, 'test')) { |
|
| 92 | 92 | return; |
| 93 | 93 | } |
| 94 | 94 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Paraunit\Printer; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Paraunit\Printer; |
| 5 | 5 | |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | { |
| 37 | 37 | $format = $singleResult->getTestResultFormat(); |
| 38 | 38 | |
| 39 | - if (! $format instanceof TestResultWithSymbolFormat) { |
|
| 39 | + if ( ! $format instanceof TestResultWithSymbolFormat) { |
|
| 40 | 40 | return ''; |
| 41 | 41 | } |
| 42 | 42 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Paraunit\Printer; |
| 5 | 5 | |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | */ |
| 37 | 37 | private function printFailuresOutput(TestResultContainer $testResultContainer, OutputInterface $output) |
| 38 | 38 | { |
| 39 | - if (! $testResultContainer->getTestResultFormat()->shouldPrintTestOutput()) { |
|
| 39 | + if ( ! $testResultContainer->getTestResultFormat()->shouldPrintTestOutput()) { |
|
| 40 | 40 | return; |
| 41 | 41 | } |
| 42 | 42 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Paraunit\Printer; |
| 5 | 5 | |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | */ |
| 32 | 32 | private function printFileRecap(TestResultContainerInterface $testResultContainer, OutputInterface $output) |
| 33 | 33 | { |
| 34 | - if (! $testResultContainer->getTestResultFormat()->shouldPrintFilesRecap()) { |
|
| 34 | + if ( ! $testResultContainer->getTestResultFormat()->shouldPrintFilesRecap()) { |
|
| 35 | 35 | return; |
| 36 | 36 | } |
| 37 | 37 | |