We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -187,12 +187,12 @@ |
||
187 | 187 | } |
188 | 188 | |
189 | 189 | if (!empty($interfaces)) { |
190 | - $items = \array_map(fn ($type) => "$this->globalVars->get('typeResolver')->resolve('$type')", $interfaces); |
|
190 | + $items = \array_map(fn($type) => "$this->globalVars->get('typeResolver')->resolve('$type')", $interfaces); |
|
191 | 191 | $configLoader->addItem('interfaces', ArrowFunction::new(Collection::numeric($items, true))); |
192 | 192 | } |
193 | 193 | |
194 | 194 | if (!empty($types)) { |
195 | - $items = \array_map(fn ($type) => "$this->globalVars->get('typeResolver')->resolve('$type')", $types); |
|
195 | + $items = \array_map(fn($type) => "$this->globalVars->get('typeResolver')->resolve('$type')", $types); |
|
196 | 196 | $configLoader->addItem('types', ArrowFunction::new(Collection::numeric($items, true))); |
197 | 197 | } |
198 | 198 |
@@ -55,9 +55,9 @@ |
||
55 | 55 | |
56 | 56 | if (!$this->expressionLanguage->evaluate($constraint->expression, $variables)) { |
57 | 57 | $this->context->buildViolation($constraint->message) |
58 | - ->setParameter('{{ value }}', $this->formatValue($value, self::OBJECT_TO_STRING)) |
|
59 | - ->setCode(Expression::EXPRESSION_FAILED_ERROR) |
|
60 | - ->addViolation(); |
|
58 | + ->setParameter('{{ value }}', $this->formatValue($value, self::OBJECT_TO_STRING)) |
|
59 | + ->setCode(Expression::EXPRESSION_FAILED_ERROR) |
|
60 | + ->addViolation(); |
|
61 | 61 | } |
62 | 62 | } |
63 | 63 | } |
@@ -12,7 +12,7 @@ |
||
12 | 12 | { |
13 | 13 | parent::__construct( |
14 | 14 | $name, |
15 | - static fn ($alias, $args = '[]') => "$this->globalVars->get('mutationResolver')->resolve([$alias, $args])" |
|
15 | + static fn($alias, $args = '[]') => "$this->globalVars->get('mutationResolver')->resolve([$alias, $args])" |
|
16 | 16 | ); |
17 | 17 | } |
18 | 18 | } |
@@ -12,8 +12,8 @@ |
||
12 | 12 | { |
13 | 13 | parent::__construct( |
14 | 14 | 'arguments', |
15 | - static fn ($mapping, $data) => "$this->globalVars->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, \$info)", |
|
16 | - static fn (array $arguments, $mapping, $data) => $arguments['globalVariables']->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, $arguments['info']) |
|
15 | + static fn($mapping, $data) => "$this->globalVars->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, \$info)", |
|
16 | + static fn(array $arguments, $mapping, $data) => $arguments['globalVariables']->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, $arguments['info']) |
|
17 | 17 | ); |
18 | 18 | } |
19 | 19 | } |
@@ -12,7 +12,7 @@ |
||
12 | 12 | { |
13 | 13 | parent::__construct( |
14 | 14 | $name, |
15 | - static fn (string $alias, string $args = '[]') => "$this->globalVars->get('resolverResolver')->resolve([$alias, $args])" |
|
15 | + static fn(string $alias, string $args = '[]') => "$this->globalVars->get('resolverResolver')->resolve([$alias, $args])" |
|
16 | 16 | ); |
17 | 17 | } |
18 | 18 | } |
@@ -12,8 +12,8 @@ |
||
12 | 12 | { |
13 | 13 | parent::__construct( |
14 | 14 | 'hasPermission', |
15 | - static fn ($object, $permission) => "$this->globalVars->get('security')->hasPermission($object, $permission)", |
|
16 | - static fn (array $arguments, $object, $permission) => $arguments['globalVariables']->get('security')->hasPermission($object, $permission) |
|
15 | + static fn($object, $permission) => "$this->globalVars->get('security')->hasPermission($object, $permission)", |
|
16 | + static fn(array $arguments, $object, $permission) => $arguments['globalVariables']->get('security')->hasPermission($object, $permission) |
|
17 | 17 | ); |
18 | 18 | } |
19 | 19 | } |
@@ -12,8 +12,8 @@ |
||
12 | 12 | { |
13 | 13 | parent::__construct( |
14 | 14 | 'isAuthenticated', |
15 | - static fn () => "$this->globalVars->get('security')->isAuthenticated()", |
|
16 | - static fn (array $arguments) => $arguments['globalVariables']->get('security')->isAuthenticated() |
|
15 | + static fn() => "$this->globalVars->get('security')->isAuthenticated()", |
|
16 | + static fn(array $arguments) => $arguments['globalVariables']->get('security')->isAuthenticated() |
|
17 | 17 | ); |
18 | 18 | } |
19 | 19 | } |
@@ -12,8 +12,8 @@ |
||
12 | 12 | { |
13 | 13 | parent::__construct( |
14 | 14 | 'getUser', |
15 | - static fn () => "$this->globalVars->get('security')->getUser()", |
|
16 | - static fn (array $arguments) => $arguments['globalVariables']->get('security')->getUser() |
|
15 | + static fn() => "$this->globalVars->get('security')->getUser()", |
|
16 | + static fn(array $arguments) => $arguments['globalVariables']->get('security')->getUser() |
|
17 | 17 | ); |
18 | 18 | } |
19 | 19 | } |
@@ -12,8 +12,8 @@ |
||
12 | 12 | { |
13 | 13 | parent::__construct( |
14 | 14 | 'hasAnyPermission', |
15 | - static fn ($object, $permissions) => "$this->globalVars->get('security')->hasAnyPermission($object, $permissions)", |
|
16 | - static fn (array $arguments, $object, $permissions) => $arguments['globalVariables']->get('security')->hasAnyPermission($object, $permissions) |
|
15 | + static fn($object, $permissions) => "$this->globalVars->get('security')->hasAnyPermission($object, $permissions)", |
|
16 | + static fn(array $arguments, $object, $permissions) => $arguments['globalVariables']->get('security')->hasAnyPermission($object, $permissions) |
|
17 | 17 | ); |
18 | 18 | } |
19 | 19 | } |