Passed
Pull Request — master (#24)
by
unknown
02:01
created
src/Command/CoverageCheckCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Style/CoverageCheckStyle.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.