Passed
Push — master ( dc17db...5cba3c )
by Eric
02:19 queued 16s
created
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(array|string $message, bool $onlyPercentage = false): void
33
+    public function error(array | string $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(array|string $message, bool $onlyPercentage = false): void
49
+    public function success(array | string $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.
src/CoverageCheck.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      * @see https://confluence.atlassian.com/pages/viewpage.action?pageId=79986990
123 123
      * @see https://ocramius.github.io/blog/automated-code-coverage-check-for-github-pull-requests-with-travis/
124 124
      */
125
-    public function process(): false|float
125
+    public function process(): false | float
126 126
     {
127 127
         $rawMetrics = $this->loadMetrics() ?? false;
128 128
 
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      *     totalCoverage: float|int
165 165
      * }
166 166
      */
167
-    public function processByFile(): array|false
167
+    public function processByFile(): array | false
168 168
     {
169 169
         $fileMetrics   = [];
170 170
         $totalCoverage = 0;
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
      *
269 269
      * @return null|array<SimpleXMLElement>|false
270 270
      */
271
-    protected function loadMetrics(string $xpath = self::XPATH_METRICS): null|array|false
271
+    protected function loadMetrics(string $xpath = self::XPATH_METRICS): null | array | false
272 272
     {
273 273
         $cloverData = file_get_contents($this->cloverFile);
274 274
 
Please login to merge, or discard this patch.