Code Analysis #1625
Annotations
4 errors and 1 warning
Run composer phpstan -- --no-progress --error-format=table:
src/GraphQL.php#L1
Ignored error pattern #^Parameter \#1 \$config of class GraphQL\\Type\\Definition\\ObjectType constructor expects array\{name\?\: string\|null, description\?\: string\|null, resolveField\?\: \(callable\(mixed, array\<string, mixed\>, mixed, GraphQL\\Type\\Definition\\ResolveInfo\)\: mixed\)\|null, argsMapper\?\: \(callable\(array\<string, mixed\>, GraphQL\\Type\\Definition\\FieldDefinition, GraphQL\\Language\\AST\\FieldNode, mixed\)\: mixed\)\|null, fields\: \(callable\(\)\: iterable\)\|iterable, interfaces\?\: \(callable\(\)\: iterable\<callable\(\)\: GraphQL\\Type\\Definition\\InterfaceType\|GraphQL\\Type\\Definition\\InterfaceType\>\)\|iterable\<\(callable\(\)\: GraphQL\\Type\\Definition\\InterfaceType\)\|GraphQL\\Type\\Definition\\InterfaceType\>, isTypeOf\?\: \(callable\(mixed, mixed, GraphQL\\Type\\Definition\\ResolveInfo\)\: \(bool\|GraphQL\\Deferred\|null\)\)\|null, astNode\?\: GraphQL\\Language\\AST\\ObjectTypeDefinitionNode\|null, \.\.\.\}, non\-empty\-array\<string, array\<int\|string, non\-empty\-array\<string, mixed\>\|\(ArrayAccess&Rebing\\GraphQL\\Support\\Field\)\>\|string\> given\.$# in path /home/runner/work/graphql-laravel/graphql-laravel/src/GraphQL.php was not matched in reported errors.
|
Run composer phpstan -- --no-progress --error-format=table:
src/GraphQL.php#L1
Ignored error pattern #^Property Rebing\\GraphQL\\GraphQL\:\:\$types \(array\<string, object\|string\>\) does not accept array\<int\|string, object\|string\>\.$# in path /home/runner/work/graphql-laravel/graphql-laravel/src/GraphQL.php was not matched in reported errors.
|
Run composer phpstan -- --no-progress --error-format=table:
src/GraphQL.php#L373
Parameter #1 $config of class GraphQL\Type\Definition\ObjectType constructor expects array{name?: string|null, description?: string|null, resolveField?: (callable(mixed, array<string, mixed>, mixed, GraphQL\Type\Definition\ResolveInfo): mixed)|null, argsMapper?: (callable(array<string, mixed>, GraphQL\Type\Definition\FieldDefinition, GraphQL\Language\AST\FieldNode, mixed): mixed)|null, fields: (callable(): iterable)|iterable, interfaces?: (callable(): iterable<callable(): GraphQL\Type\Definition\InterfaceType|GraphQL\Type\Definition\InterfaceType>)|iterable<(callable(): GraphQL\Type\Definition\InterfaceType)|GraphQL\Type\Definition\InterfaceType>, isTypeOf?: (callable(mixed, mixed, GraphQL\Type\Definition\ResolveInfo): (bool|GraphQL\Deferred|null))|null, astNode?: GraphQL\Language\AST\ObjectTypeDefinitionNode|null, ...}, non-empty-array<string, array<non-empty-array<string, mixed>|(ArrayAccess&Rebing\GraphQL\Support\Field)>|string> given.
|
Run composer phpstan -- --no-progress --error-format=table
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading