We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -24,7 +24,7 @@ |
||
24 | 24 | |
25 | 25 | public function getBuilder(string $name, ?string $queryAlias, ?string $mutationAlias = null, ?string $subscriptionAlias = null, array $types = []): Closure |
26 | 26 | { |
27 | - return function () use ($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types): ExtensibleSchema { |
|
27 | + return function () use ($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types) : ExtensibleSchema { |
|
28 | 28 | static $schema = null; |
29 | 29 | if (null === $schema) { |
30 | 30 | $schema = $this->create($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types); |
@@ -54,9 +54,9 @@ |
||
54 | 54 | |
55 | 55 | if (!$this->expressionLanguage->evaluate($constraint->expression, $variables)) { |
56 | 56 | $this->context->buildViolation($constraint->message) |
57 | - ->setParameter('{{ value }}', $this->formatValue($value, self::OBJECT_TO_STRING)) |
|
58 | - ->setCode(Expression::EXPRESSION_FAILED_ERROR) |
|
59 | - ->addViolation(); |
|
57 | + ->setParameter('{{ value }}', $this->formatValue($value, self::OBJECT_TO_STRING)) |
|
58 | + ->setCode(Expression::EXPRESSION_FAILED_ERROR) |
|
59 | + ->addViolation(); |
|
60 | 60 | } |
61 | 61 | } |
62 | 62 |
@@ -67,7 +67,7 @@ |
||
67 | 67 | 'payload' => ['data' => ['singleUpload' => 'a.txt']], |
68 | 68 | ], |
69 | 69 | [ |
70 | - 'id' => 'multipleUpload', |
|
70 | + 'id' => 'multipleUpload', |
|
71 | 71 | 'payload' => ['data' => ['multipleUpload' => ['b.txt', 'c.txt']]], |
72 | 72 | ], |
73 | 73 | ], |
@@ -97,7 +97,7 @@ |
||
97 | 97 | // @phpstan-ignore-next-line |
98 | 98 | $mock = $this->createMock($className); |
99 | 99 | $mock->method('getDocComment') |
100 | - ->willReturn(sprintf('/** @%s %s **/', $this->reflectors[$className], $type)); |
|
100 | + ->willReturn(sprintf('/** @%s %s **/', $this->reflectors[$className], $type)); |
|
101 | 101 | |
102 | 102 | /** @var ReflectionProperty|ReflectionMethod $mock */ |
103 | 103 | return $mock; |
@@ -261,7 +261,7 @@ |
||
261 | 261 | public function testUnionAutoguessed(): void |
262 | 262 | { |
263 | 263 | $this->expect('Killable', 'union', [ |
264 | - 'types' => ['Hero', 'Mandalorian', 'Sith'], |
|
264 | + 'types' => ['Hero', 'Mandalorian', 'Sith'], |
|
265 | 265 | 'resolveType' => '@=value.getType()', |
266 | 266 | ]); |
267 | 267 | } |
@@ -293,7 +293,7 @@ |
||
293 | 293 | 'type' => 'Int!', |
294 | 294 | 'defaultValue' => 0, |
295 | 295 | ], |
296 | - ], |
|
296 | + ], |
|
297 | 297 | ], |
298 | 298 | ], |
299 | 299 | 'name' => 'foo', |
@@ -19,7 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * @throws ReflectionException |
21 | 21 | */ |
22 | - protected function newReflectionMember(object|string $objectOrClassName): ReflectionProperty |
|
22 | + protected function newReflectionMember(object | string $objectOrClassName): ReflectionProperty |
|
23 | 23 | { |
24 | 24 | $member = new ReflectionProperty($objectOrClassName, $this->getName()); |
25 | 25 | $member->setAccessible(true); |
@@ -62,7 +62,7 @@ |
||
62 | 62 | /** |
63 | 63 | * @throws ArgumentsValidationException |
64 | 64 | */ |
65 | - public function validate(string|array|null $groups = null, bool $throw = true): ?ConstraintViolationListInterface |
|
65 | + public function validate(string | array | null $groups = null, bool $throw = true): ?ConstraintViolationListInterface |
|
66 | 66 | { |
67 | 67 | $rootNode = new ValidationNode( |
68 | 68 | $this->info->parentType, |