Skip to content

Code Analysis

Code Analysis #1567

Triggered via schedule September 30, 2024 03:12
Status Failure
Total duration 1m 0s
Artifacts

analysis.yml

on: schedule
Static Analysis
50s
Static Analysis
Code Style checker
45s
Code Style checker
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Static Analysis: src/GraphQL.php#L1
Ignored error pattern #^Property GraphQL\\Type\\Definition\\ObjectType\:\:\$config \(array\{name\?\: string\|null, description\?\: string\|null, resolveField\?\: \(callable\(mixed, array\<string, mixed\>, mixed, GraphQL\\Type\\Definition\\ResolveInfo\)\: 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, extensionASTNodes\?\: array\<int, GraphQL\\Language\\AST\\ObjectTypeExtensionNode\>\|null\}\) does not accept non\-empty\-array\<string, \(callable\(\)\: iterable\)\|\(callable\(mixed, array\<string, mixed\>, mixed, GraphQL\\Type\\Definition\\ResolveInfo\)\: mixed\)\|\(callable\(mixed, mixed, GraphQL\\Type\\Definition\\ResolveInfo\)\: \(bool\|GraphQL\\Deferred\|null\)\)\|GraphQL\\Language\\AST\\ObjectTypeDefinitionNode\|iterable\|string\|null\>\.$# in path /home/runner/work/graphql-laravel/graphql-laravel/src/GraphQL.php was not matched in reported errors.
Static Analysis: src/GraphQL.php#L315
Property GraphQL\Type\Definition\ObjectType::$config (array{name?: string|null, description?: string|null, resolveField?: (callable(mixed, array<string, mixed>, mixed, GraphQL\Type\Definition\ResolveInfo): 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, extensionASTNodes?: array<int, GraphQL\Language\AST\ObjectTypeExtensionNode>|null}) does not accept array{name?: string|null, description?: string|null, resolveField?: (callable(mixed, array<string, mixed>, mixed, GraphQL\Type\Definition\ResolveInfo): mixed)|string|null, fields: (callable(): iterable)|iterable|string, interfaces?: (callable(): iterable<callable(): GraphQL\Type\Definition\InterfaceType|GraphQL\Type\Definition\InterfaceType>)|iterable<(callable(): GraphQL\Type\Definition\InterfaceType)|GraphQL\Type\Definition\InterfaceType>|string, isTypeOf?: (callable(mixed, mixed, GraphQL\Type\Definition\ResolveInfo): (bool|GraphQL\Deferred|null))|string|null, astNode?: GraphQL\Language\AST\ObjectTypeDefinitionNode|string|null, extensionASTNodes?: array<int, GraphQL\Language\AST\ObjectTypeExtensionNode>|string|null}.
Static Analysis: src/Support/ExecutionMiddleware/ValidateOperationParamsMiddleware.php#L36
Parameter #2 $errors of class GraphQL\Executor\ExecutionResult constructor expects list<GraphQL\Error\Error>, non-empty-array<int, GraphQL\Error\Error> given.
Static Analysis
Process completed with exit code 1.