We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | { |
| 15 | 15 | parent::__construct( |
| 16 | 16 | 'idFetcherCallback', |
| 17 | - static fn ($idFetcher) => ( |
|
| 17 | + static fn($idFetcher) => ( |
|
| 18 | 18 | Closure::new() |
| 19 | 19 | ->addArgument('value') |
| 20 | 20 | ->bindVars(TypeGenerator::GRAPHQL_SERVICES, 'args', 'context', 'info') |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | { |
| 82 | 82 | return array_reduce( |
| 83 | 83 | explode('.', $location), |
| 84 | - fn ($carry, $item) => "{$carry}[$item]" |
|
| 84 | + fn($carry, $item) => "{$carry}[$item]" |
|
| 85 | 85 | ); |
| 86 | 86 | } |
| 87 | 87 | |
@@ -27,6 +27,6 @@ |
||
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | // @phpstan-ignore-next-line |
| 30 | - return array_map(fn (ReflectionAttribute $attribute) => $attribute->newInstance(), $attributes); |
|
| 30 | + return array_map(fn(ReflectionAttribute $attribute) => $attribute->newInstance(), $attributes); |
|
| 31 | 31 | } |
| 32 | 32 | } |
@@ -442,7 +442,7 @@ |
||
| 442 | 442 | $reflectionConstant = new ReflectionClassConstant($reflectionClass->getName(), $name); |
| 443 | 443 | $valueConfig = self::getDescriptionConfiguration(static::getMetadatas($reflectionConstant), true); |
| 444 | 444 | |
| 445 | - $enumValueAnnotation = current(array_filter($enumValues, fn ($enumValueAnnotation) => $enumValueAnnotation->name === $name)); |
|
| 445 | + $enumValueAnnotation = current(array_filter($enumValues, fn($enumValueAnnotation) => $enumValueAnnotation->name === $name)); |
|
| 446 | 446 | $valueConfig['value'] = $value; |
| 447 | 447 | |
| 448 | 448 | if (false !== $enumValueAnnotation) { |
@@ -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 | |