Skip to content
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
01508dd
Extract RootType::namespaces() and refactor FieldValue::parentNamespa…
spawnia Jul 10, 2026
3683814
Add RootResolverSignatureRector with type-fixing behavior
spawnia Jul 10, 2026
be9a69c
Add name normalization tests for RootResolverSignatureRector
spawnia Jul 10, 2026
e6f85c1
Document root resolvers and the RootResolverSignatureRector rule
spawnia Jul 10, 2026
89bcd0b
Require Larastan bootstrap for RootResolverSignatureRector
spawnia Jul 10, 2026
1110380
Use protected visibility in RootResolverSignatureRector
spawnia Jul 10, 2026
96d6bfb
Ignore docs/superpowers in .gitignore
spawnia Jul 10, 2026
9d88837
Fix isMissingRootParam producing duplicate param names
spawnia Jul 10, 2026
13435be
Validate paramNames element types in configure()
spawnia Jul 10, 2026
6d7dacd
Throw when resolver namespaces are empty (misconfigured bootstrap)
spawnia Jul 10, 2026
2ac1ac8
Refactor RootResolverSignatureRector for clarity
spawnia Jul 10, 2026
7acf822
Fix docs: sentence line break and missing $args insertion bullet
spawnia Jul 10, 2026
1840f90
Add missing test fixtures for fixObjectParam paths
spawnia Jul 10, 2026
03a4ef9
Add CHANGELOG entry for RootResolverSignatureRector
spawnia Jul 10, 2026
ebab0a4
Apply fixes from tooling (rector, php-cs-fixer, phpstan)
spawnia Jul 10, 2026
d9f02dd
Fix normalizeNames to rename variable usages in method body
spawnia Jul 10, 2026
4db7570
Use mixed $root in docs example for PHP 8.0/8.1 compat
spawnia Jul 10, 2026
5c95630
Replace assert with InvalidConfigurationException for paramNames
spawnia Jul 10, 2026
046cee7
Replace TODO placeholder with actual PR number in CHANGELOG
spawnia Jul 10, 2026
332fee5
Keep rector/rector installed in CI to validate Rector code
spawnia Jul 10, 2026
585638b
Keep larastan installed in PHPUnit CI job
spawnia Jul 10, 2026
be1c194
Add @dataProvider annotations for PHPUnit 9.x compatibility
spawnia Jul 14, 2026
837450d
Merge branch 'master' into root-resolver-signature-rector-rule
spawnia Jul 15, 2026
a657821
fix risky test
spawnia Jul 15, 2026
20d9943
bump phpstan and rector minimum versions
spawnia Jul 15, 2026
ed8b242
fix risky test by avoiding AbstractRectorTestCase
spawnia Jul 15, 2026
c21ea81
Fix CI dependency conflicts between rector and phpstan
spawnia Jul 15, 2026
ced5f40
Exclude Rector files from PHPStan analysis
spawnia Jul 15, 2026
5b695b5
Validate RootType::namespaces() returns non-empty strings
spawnia Jul 15, 2026
6c85faf
Address code style review comments
spawnia Jul 15, 2026
db79118
Pin PHP 8.2 target in Rector test configs
spawnia Jul 15, 2026
4934a86
Use imports instead of FQCNs for GraphQLContext and ResolveInfo
spawnia Jul 15, 2026
c633c64
Use array-key in RootType::namespaces() return type annotation
spawnia Jul 15, 2026
3d1eaa5
Apply php-cs-fixer changes
spawnia Jul 15, 2026
f14e4ba
Don't add args param when root was already present without args
spawnia Jul 16, 2026
b6d2dec
Strip useless single root params instead of adding args
spawnia Jul 16, 2026
60a42e1
Update docs to match single-param stripping behavior
spawnia Jul 16, 2026
3597bd9
Reindex namespaces array to guarantee list return type
spawnia Jul 16, 2026
9cfe2e1
Document that the rule assumes all __invoke classes in resolver paths…
spawnia Jul 16, 2026
d368c88
Add docs for RootResolverSignatureRector including known limitation
spawnia Jul 16, 2026
82e6e14
Move Rector docs to testing/rector.md as canonical source, add short …
spawnia Jul 16, 2026
3ab761e
Sync docs/6 from docs/master
spawnia Jul 16, 2026
9bba73b
Handle ?array $args as a valid args parameter type
spawnia Jul 17, 2026
dacceb4
Remove unreachable ensureArgsParam block and method
spawnia Jul 17, 2026
37fe9e8
Reindex paramNames to guarantee positional access
spawnia Jul 17, 2026
5d21444
Annotate null $root examples as PHP 8.2+
spawnia Jul 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.vscode
phpunit.xml
.gitpod.yml
docs/superpowers

# Generated files
.phpunit.result.cache
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ You can find and compare releases at the [GitHub release page](https://github.co

## Unreleased

### Added

- Add `RootResolverSignatureRector` rule to auto-fix root resolver `__invoke` signatures https://github.com/nuwave/lighthouse/pull/TODO
Comment thread
spawnia marked this conversation as resolved.
Outdated

## v6.68.0

### Added
Expand Down
68 changes: 68 additions & 0 deletions docs/master/api-reference/resolvers.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,74 @@ function (mixed $root, array $args, GraphQLContext $context, ResolveInfo $resolv

The return value of this must fit the return type defined for the corresponding field from the schema.

## Root resolvers

Root resolvers are classes with an `__invoke` method that sit directly in the configured
`lighthouse.namespaces.queries` or `lighthouse.namespaces.mutations` namespaces.
Lighthouse calls them with positional arguments `($root, $args, $context, $resolveInfo)` where `$root` is always `null` for root types.
Comment thread
spawnia marked this conversation as resolved.

Omitting `$root` causes Lighthouse's positional `null` to bind to `$args`, producing TypeErrors at runtime.
The canonical signature for a root resolver is:

```php
use Nuwave\Lighthouse\Execution\ResolveInfo;
use Nuwave\Lighthouse\Support\Contracts\GraphQLContext;

class MyQuery
{
public function __invoke(null $root, array $args, GraphQLContext $context, ResolveInfo $resolveInfo)
Comment thread
spawnia marked this conversation as resolved.
Outdated
{
// ...
}
}
```

### Rector rule

Lighthouse ships a Rector rule that enforces correct `__invoke` signatures on root resolvers.
Enable it in your `rector.php`:

```php
use Nuwave\Lighthouse\Rector\RootResolverSignatureRector;
use Rector\Config\RectorConfig;

return static function (RectorConfig $rectorConfig): void {
$rectorConfig->rule(RootResolverSignatureRector::class);

// Required: Larastan bootstrap makes config() available
$rectorConfig->bootstrapFiles([
__DIR__ . '/vendor/larastan/larastan/bootstrap.php',
]);
};
```

The rule fixes:

- Missing `$root` parameter (detected when there is a single param typed `array` or untyped)
- Missing `$args` parameter when only `$root` is present
- Wrong type on the `$root` parameter (must be `null` on PHP 8.2+, `mixed` on earlier versions)
Comment thread
spawnia marked this conversation as resolved.
Outdated
- Wrong type on `$args` (must be `array`)
- Wrong type on `$context` if present (must implement `GraphQLContext`)
- Wrong type on `$resolveInfo` if present (must be or extend `ResolveInfo`)

#### Name normalization

Optionally configure preferred parameter names:

```php
$rectorConfig->ruleWithConfiguration(RootResolverSignatureRector::class, [
'paramNames' => ['_', 'args', 'context', 'resolveInfo'],
]);
```

Use `null` at any position to skip renaming that parameter:

```php
$rectorConfig->ruleWithConfiguration(RootResolverSignatureRector::class, [
'paramNames' => [null, null, 'context', 'resolveInfo'],
]);
```

## Complexity function signature

The complexity function is used to calculate a query complexity score for a field.
Expand Down
291 changes: 291 additions & 0 deletions src/Rector/RootResolverSignatureRector.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,291 @@
<?php declare(strict_types=1);

namespace Nuwave\Lighthouse\Rector;

use Nuwave\Lighthouse\Schema\RootType;
use PhpParser\Node;
use PhpParser\Node\Expr\Variable;
use PhpParser\Node\Identifier;
use PhpParser\Node\Name\FullyQualified;
use PhpParser\Node\Param;
use PhpParser\Node\Stmt\Class_;
use PhpParser\Node\Stmt\ClassMethod;
use PHPStan\Type\ObjectType;
use Rector\Contract\Rector\ConfigurableRectorInterface;
use Rector\Exception\Configuration\InvalidConfigurationException;
use Rector\Php\PhpVersionProvider;
use Rector\Rector\AbstractRector;
use Rector\ValueObject\PhpVersion;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;

class RootResolverSignatureRector extends AbstractRector implements ConfigurableRectorInterface

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and highest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector implements unknown interface Rector\Contract\Rector\ConfigurableRectorInterface.

Check failure on line 22 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and lowest dependencies

Class Nuwave\Lighthouse\Rector\RootResolverSignatureRector extends unknown class Rector\Rector\AbstractRector.
{
/** @var array<int, string|null> */
protected array $paramNames = [];

public function __construct(
protected PhpVersionProvider $phpVersionProvider,

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and highest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and highest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and lowest dependencies

Property Nuwave\Lighthouse\Rector\RootResolverSignatureRector::$phpVersionProvider has unknown class Rector\Php\PhpVersionProvider as its type.

Check failure on line 28 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and lowest dependencies

Parameter $phpVersionProvider of method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::__construct() has invalid type Rector\Php\PhpVersionProvider.
) {}

public function getRuleDefinition(): RuleDefinition

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and highest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.

Check failure on line 31 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and lowest dependencies

Method Nuwave\Lighthouse\Rector\RootResolverSignatureRector::getRuleDefinition() has invalid return type Symplify\RuleDocGenerator\ValueObject\RuleDefinition.
{
return new RuleDefinition('Fix root resolver __invoke signatures to match Lighthouse calling convention', [

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.

Check failure on line 33 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\RuleDefinition not found.
new CodeSample(

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and highest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.

Check failure on line 34 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and lowest dependencies

Instantiated class Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample not found.
<<<'CODE_SAMPLE'
namespace App\GraphQL\Queries;

class Users
{
public function __invoke(array $args)
{
return [];
}
}
CODE_SAMPLE,
<<<'CODE_SAMPLE'
namespace App\GraphQL\Queries;

class Users
{
public function __invoke(null $root, array $args)
Comment thread
spawnia marked this conversation as resolved.
Outdated
{
return [];
}
}
CODE_SAMPLE,
),
Comment thread
spawnia marked this conversation as resolved.
]);
}

/** @return array<class-string<Node>> */
public function getNodeTypes(): array
{
return [Class_::class];
}

/** @param array<string, mixed> $configuration */
public function configure(array $configuration): void
{
$paramNames = $configuration['paramNames'] ?? [];
assert(is_array($paramNames), 'paramNames must be an array.');

Comment thread
spawnia marked this conversation as resolved.
if (count($paramNames) > 4) {
throw new InvalidConfigurationException('paramNames must have at most 4 elements.');

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and highest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and lowest dependencies

Throwing object of an unknown class Rector\Exception\Configuration\InvalidConfigurationException.

Check failure on line 74 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.
}

foreach ($paramNames as $name) {
if ($name !== null && ! is_string($name)) {
throw new InvalidConfigurationException('Each paramNames element must be a string or null.');

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^10 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^13 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^12 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^11 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^10 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^11 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^9 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^10 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3 with Laravel ^12 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^9 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^11 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^11 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^13 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^12 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^12 and highest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^10 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.5 with Laravel ^9 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.

Check failure on line 79 in src/Rector/RootResolverSignatureRector.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.4 with Laravel ^13 and lowest dependencies

Instantiated class Rector\Exception\Configuration\InvalidConfigurationException not found.
}
}

$this->paramNames = $paramNames;
}
Comment thread
spawnia marked this conversation as resolved.

/** @param Class_ $node */
public function refactor(Node $node): ?Node
{
if (! $this->isRootResolver($node)) {
return null;
}

$invokeMethod = $node->getMethod('__invoke');
if (! $invokeMethod instanceof ClassMethod) {
return null;
}

if ($invokeMethod->params === []) {
return null;
}

$changed = false;

if ($this->isMissingRootParam($invokeMethod)) {
$this->prependRootParam($invokeMethod);
$changed = true;
} elseif ($this->fixParamType($invokeMethod, 0, $this->rootTypeIdentifier())) {
$changed = true;
}

if ($this->ensureArgsParam($invokeMethod)) {
$changed = true;
}

if ($this->fixParamType($invokeMethod, 1, new Identifier('array'))) {
$changed = true;
}

if (isset($invokeMethod->params[2]) && $this->fixObjectParam($invokeMethod, 2, \Nuwave\Lighthouse\Support\Contracts\GraphQLContext::class)) {
Comment thread
spawnia marked this conversation as resolved.
Outdated
$changed = true;
}

if (isset($invokeMethod->params[3]) && $this->fixObjectParam($invokeMethod, 3, \Nuwave\Lighthouse\Execution\ResolveInfo::class)) {
$changed = true;
}

if ($this->normalizeNames($invokeMethod)) {
$changed = true;
}

if (! $changed) {
return null;
}

return $node;
}

protected function isRootResolver(Class_ $node): bool
{
$fqcn = $node->namespacedName?->toString();
if ($fqcn === null) {
return false;
}

foreach ($this->resolverNamespaces() as $namespace) {
if ($this->isDirectChildOfNamespace($fqcn, $namespace)) {
return true;
}
}

return false;
}

/**
* Subscriptions are excluded — their resolver convention differs (they use subscriber classes, not __invoke).
*
* @return non-empty-list<string>
*/
protected function resolverNamespaces(): array
{
$namespaces = [
...RootType::namespaces(RootType::QUERY),
...RootType::namespaces(RootType::MUTATION),
];
Comment thread
spawnia marked this conversation as resolved.

if ($namespaces === []) {
throw new \RuntimeException('Lighthouse resolver namespaces are empty. Ensure your Rector config includes bootstrapFiles with the Larastan bootstrap and Lighthouse config loaded.');
Comment thread
spawnia marked this conversation as resolved.
Outdated
}

return $namespaces;
}
Comment thread
spawnia marked this conversation as resolved.

protected function isDirectChildOfNamespace(string $fqcn, string $namespace): bool
{
return str_starts_with($fqcn, $namespace . '\\')
&& ! str_contains(substr($fqcn, strlen($namespace) + 1), '\\');
}

protected function isMissingRootParam(ClassMethod $method): bool
{
if (count($method->params) !== 1) {
return false;
}

$firstParam = $method->params[0];

return $firstParam->type === null
|| ($firstParam->type instanceof Identifier && $firstParam->type->name === 'array');
Comment thread
spawnia marked this conversation as resolved.
Outdated
}

protected function prependRootParam(ClassMethod $method): void
{
$rootParam = new Param(
new Variable('root'),
null,
$this->rootTypeIdentifier(),
);

array_unshift($method->params, $rootParam);
}

protected function rootTypeIdentifier(): Identifier
{
if ($this->phpVersionProvider->isAtLeastPhpVersion(PhpVersion::PHP_82)) {
return new Identifier('null');
}

return new Identifier('mixed');
}

protected function fixParamType(ClassMethod $method, int $index, Identifier $expectedType): bool
{
if (! isset($method->params[$index])) {
return false;
}

$param = $method->params[$index];
$currentType = $param->type;

if ($currentType instanceof Identifier && $currentType->name === $expectedType->name) {
Comment thread
spawnia marked this conversation as resolved.
Outdated
return false;
}

$param->type = $expectedType;

return true;
}

protected function ensureArgsParam(ClassMethod $method): bool
{
if (count($method->params) >= 2) {
return false;
}

$method->params[] = new Param(new Variable('args'), null, new Identifier('array'));
Comment thread
spawnia marked this conversation as resolved.
Outdated

return true;
}

protected function fixObjectParam(ClassMethod $method, int $index, string $expectedClass): bool
{
$param = $method->params[$index];
$currentType = $param->type;

if ($currentType instanceof FullyQualified || $currentType instanceof Node\Name) {
Comment thread
spawnia marked this conversation as resolved.
Outdated
$objectType = new ObjectType($currentType->toString());
$expectedType = new ObjectType($expectedClass);

if ($expectedType->isSuperTypeOf($objectType)->yes()) {
return false;
}
}

$param->type = new FullyQualified($expectedClass);

return true;
}

protected function normalizeNames(ClassMethod $method): bool
{
if ($this->paramNames === []) {
return false;
}

$changed = false;

foreach ($this->paramNames as $index => $name) {
if ($name === null) {
continue;
}

if (! isset($method->params[$index])) {
continue;
}

$param = $method->params[$index];
if (! $param->var instanceof Variable) {
continue;
}

if ($param->var->name === $name) {
continue;
}

$param->var = new Variable($name);
Comment thread
spawnia marked this conversation as resolved.
$changed = true;
}

return $changed;
}
}
Loading
Loading