Code Analysis #1411
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
analysis.yml
on: schedule
Static Analysis
28s
Code Style checker
25s
Annotations
3 errors
Static Analysis:
src/GraphQL.php#L1
Ignored error pattern #^Parameter \#1 \$config of class GraphQL\\Type\\Schema constructor expects array\{query\?\: \(callable\(\)\: \(GraphQL\\Type\\Definition\\ObjectType\|null\)\)\|GraphQL\\Type\\Definition\\ObjectType\|null, mutation\?\: \(callable\(\)\: \(GraphQL\\Type\\Definition\\ObjectType\|null\)\)\|GraphQL\\Type\\Definition\\ObjectType\|null, subscription\?\: \(callable\(\)\: \(GraphQL\\Type\\Definition\\ObjectType\|null\)\)\|GraphQL\\Type\\Definition\\ObjectType\|null, types\?\: \(callable\(\)\: iterable\<GraphQL\\Type\\Definition\\NamedType&GraphQL\\Type\\Definition\\Type\>\)\|iterable\<GraphQL\\Type\\Definition\\NamedType&GraphQL\\Type\\Definition\\Type\>\|null, directives\?\: array\<GraphQL\\Type\\Definition\\Directive\>\|null, typeLoader\?\: \(callable\(string\)\: \(\(GraphQL\\Type\\Definition\\NamedType&GraphQL\\Type\\Definition\\Type\)\|null\)\)\|null, assumeValid\?\: bool\|null, astNode\?\: GraphQL\\Language\\AST\\SchemaDefinitionNode\|null, \.\.\.\}\|GraphQL\\Type\\SchemaConfig, array\{query\: GraphQL\\Type\\Definition\\Type, mutation\: GraphQL\\Type\\Definition\\Type\|null, subscription\: GraphQL\\Type\\Definition\\Type\|null, directives\: array\<int\|string, mixed\>, types\: Closure\(\)\: list\<GraphQL\\Type\\Definition\\Type\>, typeLoader\: Closure\(mixed\)\: \(GraphQL\\Type\\Definition\\Type\|null\)\} given\.$# in path /home/runner/work/graphql-laravel/graphql-laravel/src/GraphQL.php was not matched in reported errors.
|
Static Analysis:
src/GraphQL.php#L387
Parameter #1 $config of class GraphQL\Type\Schema constructor expects array{query?: (callable(): (GraphQL\Type\Definition\ObjectType|null))|GraphQL\Type\Definition\ObjectType|null, mutation?: (callable(): (GraphQL\Type\Definition\ObjectType|null))|GraphQL\Type\Definition\ObjectType|null, subscription?: (callable(): (GraphQL\Type\Definition\ObjectType|null))|GraphQL\Type\Definition\ObjectType|null, types?: (callable(): iterable<GraphQL\Type\Definition\NamedType&GraphQL\Type\Definition\Type>)|(callable(): iterable<callable(): GraphQL\Type\Definition\Type&GraphQL\Type\Definition\NamedType>)|iterable<(callable(): GraphQL\Type\Definition\Type&GraphQL\Type\Definition\NamedType)|(GraphQL\Type\Definition\NamedType&GraphQL\Type\Definition\Type)>|null, directives?: array<GraphQL\Type\Definition\Directive>|null, typeLoader?: (callable(string): ((GraphQL\Type\Definition\NamedType&GraphQL\Type\Definition\Type)|null))|null, assumeValid?: bool|null, astNode?: GraphQL\Language\AST\SchemaDefinitionNode|null, ...}|GraphQL\Type\SchemaConfig, array{query: GraphQL\Type\Definition\Type, mutation: GraphQL\Type\Definition\Type|null, subscription: GraphQL\Type\Definition\Type|null, directives: array<int|string, mixed>, types: Closure(): list<GraphQL\Type\Definition\Type>, typeLoader: Closure(mixed): (GraphQL\Type\Definition\Type|null)} given.
|
Static Analysis
Process completed with exit code 1.
|