Test Failed
Pull Request — master (#1190)
by butschster
10:27
created
src/AuthHttp/src/Middleware/Firewall/OverwriteFirewall.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     public function __construct(
18 18
         private readonly UriInterface $uri,
19 19
         private readonly int $status = 401
20
-    ) {
20
+    ){
21 21
     }
22 22
 
23 23
     protected function denyAccess(Request $request, RequestHandlerInterface $handler): Response
Please login to merge, or discard this patch.
src/AuthHttp/src/Middleware/AuthTransportMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         TokenStorageInterface $tokenStorage,
29 29
         TransportRegistry $transportRegistry,
30 30
         ?EventDispatcherInterface $eventDispatcher = null
31
-    ) {
31
+    ){
32 32
         $this->authMiddleware = new AuthMiddleware(
33 33
             $scope,
34 34
             $actorProvider,
Please login to merge, or discard this patch.
src/AuthHttp/src/TransportRegistry.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     {
30 30
         $name ??= $this->default;
31 31
 
32
-        if (!isset($this->transports[$name])) {
32
+        if (!isset($this->transports[$name])){
33 33
             throw new TransportException(\sprintf('Undefined auth transport %s', $name));
34 34
         }
35 35
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,8 @@
 block discarded – undo
29 29
     {
30 30
         $name ??= $this->default;
31 31
 
32
-        if (!isset($this->transports[$name])) {
32
+        if (!isset($this->transports[$name]))
33
+        {
33 34
             throw new TransportException(\sprintf('Undefined auth transport %s', $name));
34 35
         }
35 36
 
Please login to merge, or discard this patch.
src/Filters/tests/Model/Schema/AttributeMapperTest.php 2 patches
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,8 @@  discard block
 block discarded – undo
69 69
             ->andReturn(['first' => ['foo' => 'bar'], 'second' => ['foo' => 'baz']]);
70 70
 
71 71
         [$schema, $errors] = $this->mapper->map(
72
-            $filter = new class implements FilterInterface {
72
+            $filter = new class implements FilterInterface
73
+            {
73 74
                 #[Post]
74 75
                 public string $username;
75 76
 
@@ -165,7 +166,8 @@  discard block
 block discarded – undo
165 166
             ->andReturn(['first' => ['foo' => 'bar'], 'second' => ['foo' => 'baz']]);
166 167
 
167 168
         [$schema, $errors] = $this->mapper->map(
168
-            $filter = new class implements FilterInterface {
169
+            $filter = new class implements FilterInterface
170
+            {
169 171
                 #[Post]
170 172
                 public string $username;
171 173
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
 final class AttributeMapperTest extends BaseTestCase
24 24
 {
25
-    private m\LegacyMockInterface|m\MockInterface|FilterProviderInterface $provider;
25
+    private m\LegacyMockInterface | m\MockInterface | FilterProviderInterface $provider;
26 26
     private AttributeMapper $mapper;
27 27
 
28 28
     public function setUp(): void
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
             ->andReturn(['first' => ['foo' => 'bar'], 'second' => ['foo' => 'baz']]);
70 70
 
71 71
         [$schema, $errors] = $this->mapper->map(
72
-            $filter = new class implements FilterInterface {
72
+            $filter = new class implements FilterInterface{
73 73
                 #[Post]
74 74
                 public string $username;
75 75
 
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
             ->andReturn(['first' => ['foo' => 'bar'], 'second' => ['foo' => 'baz']]);
166 166
 
167 167
         [$schema, $errors] = $this->mapper->map(
168
-            $filter = new class implements FilterInterface {
168
+            $filter = new class implements FilterInterface{
169 169
                 #[Post]
170 170
                 public string $username;
171 171
 
Please login to merge, or discard this patch.
src/Filters/src/Attribute/NestedArray.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         public readonly string $class,
37 37
         public readonly AbstractInput $input,
38 38
         public readonly ?string $prefix = null
39
-    ) {
39
+    ){
40 40
     }
41 41
 
42 42
     public function getValue(InputInterface $input, \ReflectionProperty $property): mixed
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
     public function getSchema(\ReflectionProperty $property): array
48 48
     {
49
-        if ($this->prefix) {
49
+        if ($this->prefix){
50 50
             return [$this->class, $this->prefix];
51 51
         }
52 52
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,8 @@
 block discarded – undo
46 46
 
47 47
     public function getSchema(\ReflectionProperty $property): array
48 48
     {
49
-        if ($this->prefix) {
49
+        if ($this->prefix)
50
+        {
50 51
             return [$this->class, $this->prefix];
51 52
         }
52 53
 
Please login to merge, or discard this patch.
src/Filters/src/Attribute/NestedFilter.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,12 +29,12 @@
 block discarded – undo
29 29
     public function __construct(
30 30
         public readonly string $class,
31 31
         public readonly ?string $prefix = null
32
-    ) {
32
+    ){
33 33
     }
34 34
 
35
-    public function getSchema(\ReflectionProperty $property): string|array
35
+    public function getSchema(\ReflectionProperty $property): string | array
36 36
     {
37
-        if ($this->prefix) {
37
+        if ($this->prefix){
38 38
             return [$this->class, $this->prefix];
39 39
         }
40 40
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,8 @@
 block discarded – undo
34 34
 
35 35
     public function getSchema(\ReflectionProperty $property): string|array
36 36
     {
37
-        if ($this->prefix) {
37
+        if ($this->prefix)
38
+        {
38 39
             return [$this->class, $this->prefix];
39 40
         }
40 41
 
Please login to merge, or discard this patch.
src/Filters/src/Attribute/Input/Server.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 'server:' . $this->getKey($property);
34
+        return 'server:'.$this->getKey($property);
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
src/Filters/src/Attribute/Input/Attribute.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 'attribute:' . $this->getKey($property);
34
+        return 'attribute:'.$this->getKey($property);
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
src/Filters/src/Attribute/Input/Route.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      */
27 27
     public function __construct(
28 28
         public readonly ?string $key = null,
29
-    ) {
29
+    ){
30 30
     }
31 31
 
32 32
     /**
@@ -34,11 +34,11 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public function getValue(InputInterface $input, \ReflectionProperty $property): mixed
36 36
     {
37
-        return $input->getValue('attribute', 'matches.' . $this->getKey($property));
37
+        return $input->getValue('attribute', 'matches.'.$this->getKey($property));
38 38
     }
39 39
 
40 40
     public function getSchema(\ReflectionProperty $property): string
41 41
     {
42
-        return 'attribute:matches.' . $this->getKey($property);
42
+        return 'attribute:matches.'.$this->getKey($property);
43 43
     }
44 44
 }
Please login to merge, or discard this patch.