Passed
Push — master ( 97e9e9...d7ed45 )
by Sylvain
13:49
created
tests/Middleware/SignedQueryMiddlewareTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      * @dataProvider dataProviderQuery
29 29
      */
30
-    public function testRequiredSignedQuery(array $keys, string $body, null|array $parsedBody, string $signature, string $expectExceptionMessage = '', string $ip = ''): void
30
+    public function testRequiredSignedQuery(array $keys, string $body, null | array $parsedBody, string $signature, string $expectExceptionMessage = '', string $ip = ''): void
31 31
     {
32 32
         $this->process($keys, true, $ip, $body, $parsedBody, $signature, $expectExceptionMessage);
33 33
     }
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * @dataProvider dataProviderQuery
37 37
      */
38
-    public function testNonRequiredSignedQuery(array $keys, string $body, null|array $parsedBody, string $signature): void
38
+    public function testNonRequiredSignedQuery(array $keys, string $body, null | array $parsedBody, string $signature): void
39 39
     {
40 40
         $this->process($keys, false, '', $body, $parsedBody, $signature, '');
41 41
     }
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         new SignedQueryMiddleware([], []);
48 48
     }
49 49
 
50
-    private function process(array $keys, bool $required, string $ip, string $body, null|array $parsedBody, string $signature, string $expectExceptionMessage): void
50
+    private function process(array $keys, bool $required, string $ip, string $body, null | array $parsedBody, string $signature, string $expectExceptionMessage): void
51 51
     {
52 52
         $request = new ServerRequest(['REMOTE_ADDR' => $ip]);
53 53
         $request = $request->withBody(new CallbackStream(fn () => $body))->withParsedBody($parsedBody);
Please login to merge, or discard this patch.
src/Api/Enum/PhpEnumType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  */
13 13
 final class PhpEnumType extends \GraphQL\Type\Definition\PhpEnumType
14 14
 {
15
-    protected function extractDescription(ReflectionClassConstant|ReflectionClass $reflection): ?string
15
+    protected function extractDescription(ReflectionClassConstant | ReflectionClass $reflection): ?string
16 16
     {
17 17
         if ($reflection instanceof ReflectionClassConstant) {
18 18
             $value = $reflection->getValue();
Please login to merge, or discard this patch.
src/DBAL/Types/EnumType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         return $sql;
26 26
     }
27 27
 
28
-    public function convertToPHPValue(mixed $value, AbstractPlatform $platform): null|string|BackedEnum
28
+    public function convertToPHPValue(mixed $value, AbstractPlatform $platform): null | string | BackedEnum
29 29
     {
30 30
         if ($value === null || '' === $value) {
31 31
             return null;
Please login to merge, or discard this patch.