Skip to content

Code Analysis

Code Analysis #1625

Triggered via schedule December 23, 2024 03:09
Status Failure
Total duration 43s
Artifacts

analysis.yml

on: schedule
Static Analysis
28s
Static Analysis
Code Style checker
35s
Code Style checker
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
Static Analysis: 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.
Static Analysis: 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.
Static Analysis: 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.
Static Analysis
Process completed with exit code 1.
Static Analysis
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code Style checker
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636