@@ -172,7 +172,7 @@ |
||
172 | 172 | sprintf('%d/%d', $totalElements['coveredMetrics'], $totalElements['totalMetrics']), |
173 | 173 | new TableCell( |
174 | 174 | Utils::formatCoverage($totalCoverage), |
175 | - ['style' => new TableCellStyle(['cellFormat' => ($totalCoverage < $threshold) ? '<error>%s</error>' : '<info>%s</info>',])] |
|
175 | + ['style' => new TableCellStyle(['cellFormat' => ($totalCoverage < $threshold) ? '<error>%s</error>' : '<info>%s</info>', ])] |
|
176 | 176 | ), |
177 | 177 | ]; |
178 | 178 |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * @phpstan-ignore missingType.iterableValue |
31 | 31 | */ |
32 | 32 | #[\Override] |
33 | - public function error(string|array $message, bool $onlyPercentage = false): void |
|
33 | + public function error(string | array $message, bool $onlyPercentage = false): void |
|
34 | 34 | { |
35 | 35 | $this->block($message, ($onlyPercentage ? null : 'ERROR'), 'fg=white;bg=red', ' ', true); |
36 | 36 | } |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | * @phpstan-ignore missingType.iterableValue |
47 | 47 | */ |
48 | 48 | #[\Override] |
49 | - public function success(string|array $message, bool $onlyPercentage = false): void |
|
49 | + public function success(string | array $message, bool $onlyPercentage = false): void |
|
50 | 50 | { |
51 | 51 | $this->block($message, ($onlyPercentage ? null : 'OK'), 'fg=black;bg=green', ' ', true); |
52 | 52 | } |