Passed
Push — master ( bc05d4...ad7a1c )
by Eric
02:23
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
 
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
      *
167 167
      * @todo Could possibly clean this up a bit.
168 168
      */
169
-    public function processByFile(): array|false
169
+    public function processByFile(): array | false
170 170
     {
171 171
         $fileMetrics   = [];
172 172
         $totalCoverage = 0;
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
      *
271 271
      * @return null|array<SimpleXMLElement>|false
272 272
      */
273
-    protected function loadMetrics(string $xpath = self::XPATH_METRICS): null|array|false
273
+    protected function loadMetrics(string $xpath = self::XPATH_METRICS): null | array | false
274 274
     {
275 275
         $cloverData = file_get_contents($this->cloverFile);
276 276
 
Please login to merge, or discard this patch.