Test Failed
Pull Request — master (#1163)
by Abdul Malik
10:57
created
src/Filters/src/Attribute/Input/Header.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      */
19 19
     public function __construct(
20 20
         public readonly ?string $key = null,
21
-    ) {
21
+    ){
22 22
     }
23 23
 
24 24
     /**
@@ -31,6 +31,6 @@  discard block
 block discarded – undo
31 31
 
32 32
     public function getSchema(\ReflectionProperty $property): string
33 33
     {
34
-        return 'header:' . $this->getKey($property);
34
+        return 'header:'.$this->getKey($property);
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
src/Filters/src/Attribute/Input/Data.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      */
19 19
     public function __construct(
20 20
         public readonly ?string $key = null,
21
-    ) {
21
+    ){
22 22
     }
23 23
 
24 24
     /**
@@ -31,6 +31,6 @@  discard block
 block discarded – undo
31 31
 
32 32
     public function getSchema(\ReflectionProperty $property): string
33 33
     {
34
-        return 'data:' . $this->getKey($property);
34
+        return 'data:'.$this->getKey($property);
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
src/Filters/src/Attribute/Input/File.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
      */
20 20
     public function __construct(
21 21
         public readonly ?string $key = null,
22
-    ) {
22
+    ){
23 23
     }
24 24
 
25 25
     /**
@@ -32,6 +32,6 @@  discard block
 block discarded – undo
32 32
 
33 33
     public function getSchema(\ReflectionProperty $property): string
34 34
     {
35
-        return 'file:' . $this->getKey($property);
35
+        return 'file:'.$this->getKey($property);
36 36
     }
37 37
 }
Please login to merge, or discard this patch.
src/Filters/src/Attribute/Input/Post.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      */
19 19
     public function __construct(
20 20
         public readonly ?string $key = null,
21
-    ) {
21
+    ){
22 22
     }
23 23
 
24 24
     /**
@@ -31,6 +31,6 @@  discard block
 block discarded – undo
31 31
 
32 32
     public function getSchema(\ReflectionProperty $property): string
33 33
     {
34
-        return 'post:' . $this->getKey($property);
34
+        return 'post:'.$this->getKey($property);
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
src/Filters/src/Attribute/Input/Query.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      */
19 19
     public function __construct(
20 20
         public readonly ?string $key = null,
21
-    ) {
21
+    ){
22 22
     }
23 23
 
24 24
     /**
@@ -31,6 +31,6 @@  discard block
 block discarded – undo
31 31
 
32 32
     public function getSchema(\ReflectionProperty $property): string
33 33
     {
34
-        return 'query:' . $this->getKey($property);
34
+        return 'query:'.$this->getKey($property);
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
src/Filters/src/Attribute/Input/IsJsonExpected.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 {
16 16
     public function __construct(
17 17
         public readonly bool $softMatch = false
18
-    ) {
18
+    ){
19 19
     }
20 20
 
21 21
     /**
Please login to merge, or discard this patch.
src/Filters/src/Attribute/Input/Cookie.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      */
19 19
     public function __construct(
20 20
         public readonly ?string $key = null,
21
-    ) {
21
+    ){
22 22
     }
23 23
 
24 24
     /**
@@ -31,6 +31,6 @@  discard block
 block discarded – undo
31 31
 
32 32
     public function getSchema(\ReflectionProperty $property): string
33 33
     {
34
-        return 'cookie:' . $this->getKey($property);
34
+        return 'cookie:'.$this->getKey($property);
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
src/Filters/src/Attribute/Input/Input.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      */
19 19
     public function __construct(
20 20
         public readonly ?string $key = null,
21
-    ) {
21
+    ){
22 22
     }
23 23
 
24 24
     /**
@@ -31,6 +31,6 @@  discard block
 block discarded – undo
31 31
 
32 32
     public function getSchema(\ReflectionProperty $property): string
33 33
     {
34
-        return 'input:' . $this->getKey($property);
34
+        return 'input:'.$this->getKey($property);
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
src/Filters/src/Exception/ValidationException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
     public function __construct(
10 10
         public readonly array $errors,
11 11
         public readonly mixed $context = null
12
-    ) {
12
+    ){
13 13
         parent::__construct('The given data was invalid.', 422);
14 14
     }
15 15
 }
Please login to merge, or discard this patch.