@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | $this->currentTestResult = new \EdmondsCommerce\PHPQA\PHPUnit\TestDox\TestResult( |
| 98 | - function (string $color, string $buffer) { |
|
| 98 | + function(string $color, string $buffer) { |
|
| 99 | 99 | return $this->formatWithColor($color, $buffer); |
| 100 | 100 | }, |
| 101 | 101 | $className, |
@@ -128,8 +128,8 @@ discard block |
||
| 128 | 128 | { |
| 129 | 129 | if (null === $this->currentTestResult) { |
| 130 | 130 | throw new \RuntimeException( |
| 131 | - 'Error in ' . __METHOD__ . ': ' |
|
| 132 | - . $t->getMessage() . "\n\n" . $t->getTraceAsString(), |
|
| 131 | + 'Error in '.__METHOD__.': ' |
|
| 132 | + . $t->getMessage()."\n\n".$t->getTraceAsString(), |
|
| 133 | 133 | $t->getCode(), |
| 134 | 134 | $t |
| 135 | 135 | ); |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | |
| 204 | 204 | protected function printHeader(): void |
| 205 | 205 | { |
| 206 | - $this->write("\n" . Timer::resourceUsage() . "\n\n"); |
|
| 206 | + $this->write("\n".Timer::resourceUsage()."\n\n"); |
|
| 207 | 207 | } |
| 208 | 208 | |
| 209 | 209 | private function printNonSuccessfulTestsSummary(int $numberOfExecutedTests): void |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | $this->write( |
| 244 | 244 | $this->formatWithColor( |
| 245 | 245 | 'fg-yellow', |
| 246 | - "\n" . self::SYMBOL_SKIP . ' Skipped Tests: ' . $skippedTests . "\n\n" |
|
| 246 | + "\n".self::SYMBOL_SKIP.' Skipped Tests: '.$skippedTests."\n\n" |
|
| 247 | 247 | ) |
| 248 | 248 | ); |
| 249 | 249 | } |