Test Failed
Push — develop ( 82dcf2...2060e9 )
by nguereza
13:58
created
src/Helper/Timer/Watch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@
 block discarded – undo
185 185
     {
186 186
         $result = [];
187 187
         foreach ($this->timers as $name => /** @var Timer $timer */ $timer) {
188
-            $result[$name] = (int)($timer->getTime() * 1000); // in millisecond
188
+            $result[$name] = (int) ($timer->getTime() * 1000); // in millisecond
189 189
         }
190 190
         return $result;
191 191
     }
Please login to merge, or discard this patch.
src/Helper/Image.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -110,8 +110,8 @@  discard block
 block discarded – undo
110 110
         }
111 111
 
112 112
         $scale = 1;
113
-        $scaleWidth = (int)($width / $this->width);
114
-        $scaleHeight = (int)($height / $this->height);
113
+        $scaleWidth = (int) ($width / $this->width);
114
+        $scaleHeight = (int) ($height / $this->height);
115 115
         if ($useWidth) {
116 116
             $scale = $scaleWidth;
117 117
         } elseif ($useWidth === false) {
@@ -128,10 +128,10 @@  discard block
 block discarded – undo
128 128
             return;
129 129
         }
130 130
 
131
-        $newWidth = (int)($this->width * $scale);
132
-        $newHeight = (int)($this->height * $scale);
133
-        $xpos = (int)(($width - $newWidth) / 2);
134
-        $ypos = (int)(($height - $newHeight) / 2);
131
+        $newWidth = (int) ($this->width * $scale);
132
+        $newHeight = (int) ($this->height * $scale);
133
+        $xpos = (int) (($width - $newWidth) / 2);
134
+        $ypos = (int) (($height - $newHeight) / 2);
135 135
         $oldImage = $this->image;
136 136
         $this->image = imagecreatetruecolor($width, $height);
137 137
         if ($this->mimetype === 'image/png') {
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
      * @param array<mixed>|int|float|bool ...$args
342 342
      * @return void
343 343
      */
344
-    public function filter(int $filter, array|int|float|bool ...$args): void
344
+    public function filter(int $filter, array | int | float | bool ...$args): void
345 345
     {
346 346
         imagefilter($this->image, $filter, $args);
347 347
     }
Please login to merge, or discard this patch.