Passed
Push — master ( e5e2c7...04c6d9 )
by Adrien
29:04 queued 25:32
created
src/Utility.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
      * @param class-string|object $object
17 17
      */
18
-    public static function getShortClassName(object|string $object): string
18
+    public static function getShortClassName(object | string $object): string
19 19
     {
20 20
         $reflect = new ReflectionClass($object);
21 21
 
Please login to merge, or discard this patch.
tests/Acl/DebugAclTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
         self::assertSame(
168 168
             [
169 169
                 'privilege' => 'non-existing-privilege',
170
-                'allowed' => true,  // True because allowed via the `null` wildcard
170
+                'allowed' => true, // True because allowed via the `null` wildcard
171 171
                 'allowIf' => [],
172 172
                 'denyIf' => [],
173 173
             ],
Please login to merge, or discard this patch.
src/Api/Server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     /**
52 52
      * @return ExecutionResult|ExecutionResult[]
53 53
      */
54
-    public function execute(ServerRequestInterface $request): array|ExecutionResult
54
+    public function execute(ServerRequestInterface $request): array | ExecutionResult
55 55
     {
56 56
         if (!$request->getParsedBody()) {
57 57
             /** @var array $parsedBody */
Please login to merge, or discard this patch.
src/Model/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,5 +21,5 @@
 block discarded – undo
21 21
     /**
22 22
      * Returns the user role.
23 23
      */
24
-    public function getRole(): MultipleRoles|string;
24
+    public function getRole(): MultipleRoles | string;
25 25
 }
Please login to merge, or discard this patch.
src/Testing/Api/AbstractServer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
     /**
109 109
      * @param ExecutionResult|ExecutionResult[] $result
110 110
      */
111
-    private function resultToArray(array|ExecutionResult $result): array
111
+    private function resultToArray(array | ExecutionResult $result): array
112 112
     {
113 113
         if (is_array($result)) {
114 114
             foreach ($result as &$one) {
Please login to merge, or discard this patch.
src/ORM/Query/NativeIn.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
  */
23 23
 class NativeIn extends FunctionNode
24 24
 {
25
-    private string|Node $field;
25
+    private string | Node $field;
26 26
 
27 27
     private Literal $nativeQuery;
28 28
 
Please login to merge, or discard this patch.
tests/Api/Scalar/AbstractDecimalTypeTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     /**
44 44
      * @dataProvider providerInputs
45 45
      */
46
-    public function testSerialize(int $decimal, ?string $minimum, ?string $maximum, null|float|int|string $input): void
46
+    public function testSerialize(int $decimal, ?string $minimum, ?string $maximum, null | float | int | string $input): void
47 47
     {
48 48
         $type = $this->createType($decimal, $minimum, $maximum);
49 49
         $actual = $type->serialize($input);
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * @dataProvider providerInputs
55 55
      */
56
-    public function testParseValue(int $decimal, ?string $minimum, ?string $maximum, null|float|int|string $input, ?string $expected): void
56
+    public function testParseValue(int $decimal, ?string $minimum, ?string $maximum, null | float | int | string $input, ?string $expected): void
57 57
     {
58 58
         $type = $this->createType($decimal, $minimum, $maximum);
59 59
 
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     /**
70 70
      * @dataProvider providerInputs
71 71
      */
72
-    public function testParseLiteral(int $decimal, ?string $minimum, ?string $maximum, null|float|int|string $input, ?string $expected): void
72
+    public function testParseLiteral(int $decimal, ?string $minimum, ?string $maximum, null | float | int | string $input, ?string $expected): void
73 73
     {
74 74
         $type = $this->createType($decimal, $minimum, $maximum);
75 75
 
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.