Test Failed
Push — develop ( 82dcf2...2060e9 )
by nguereza
13:58
created
src/Kernel/HttpKernel.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,7 @@
 block discarded – undo
67 67
  * @package Platine\Framework\Kernel
68 68
  * @template T
69 69
  */
70
-class HttpKernel extends BaseKernel implements RequestHandlerInterface
71
-{
70
+class HttpKernel extends BaseKernel implements RequestHandlerInterface {
72 71
     /**
73 72
      * The list of middleware's
74 73
      * @var MiddlewareInterface[]
Please login to merge, or discard this patch.
src/Helper/Image.php 1 patch
Braces   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@  discard block
 block discarded – undo
40 40
  * @class Image
41 41
  * @package Platine\Framework\Helper
42 42
  */
43
-class Image
44
-{
43
+class Image {
45 44
     /**
46 45
      * The current width of the image
47 46
      * @var int
@@ -76,8 +75,7 @@  discard block
 block discarded – undo
76 75
      * Create new instance
77 76
      * @param string $filePath
78 77
      */
79
-    public function __construct(protected string $filePath)
80
-    {
78
+    public function __construct(protected string $filePath) {
81 79
         if (extension_loaded('gd') === false) {
82 80
             throw new RuntimeException('PHP GD extension is not installed or enabled');
83 81
         }
@@ -414,13 +412,15 @@  discard block
 block discarded – undo
414 412
             $color = substr($color, 1);
415 413
         }
416 414
 
417
-        if (strlen($color) === 6) { // like ff34dq
415
+        if (strlen($color) === 6) {
416
+// like ff34dq
418 417
             [$r, $g, $b] = [
419 418
                 $color[0] . $color[1],
420 419
                 $color[2] . $color[3],
421 420
                 $color[4] . $color[5],
422 421
             ];
423
-        } elseif (strlen($color) === 3) { // like f4c => ff44cc
422
+        } elseif (strlen($color) === 3) {
423
+// like f4c => ff44cc
424 424
             [$r, $g, $b] = [
425 425
                 $color[0] . $color[0],
426 426
                 $color[1] . $color[1],
Please login to merge, or discard this patch.