Passed
Push — master ( 0707d9...735e6d )
by Eric
02:14
created
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.
src/Style/CoverageCheckStyle.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,13 +23,13 @@
 block discarded – undo
23 23
 class CoverageCheckStyle extends SymfonyStyle
24 24
 {
25 25
     #[\Override]
26
-    public function error(array|string $message, bool $onlyPercentage = false): void
26
+    public function error(array | string $message, bool $onlyPercentage = false): void
27 27
     {
28 28
         $this->block($message, ($onlyPercentage ? null : 'ERROR'), 'fg=white;bg=red', ' ', true);
29 29
     }
30 30
 
31 31
     #[\Override]
32
-    public function success(array|string $message, bool $onlyPercentage = false): void
32
+    public function success(array | string $message, bool $onlyPercentage = false): void
33 33
     {
34 34
         $this->block($message, ($onlyPercentage ? null : 'OK'), 'fg=black;bg=green', ' ', true);
35 35
     }
Please login to merge, or discard this patch.