Skip to content

Code Analysis

Code Analysis #1579

Triggered via schedule November 18, 2024 03:15
Status Failure
Total duration 53s
Artifacts

analysis.yml

on: schedule
Static Analysis
32s
Static Analysis
Code Style checker
42s
Code Style checker
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Static Analysis: tests/Database/SelectFields/InterfaceTests/ExampleInterfaceType.php#L1
Ignored error pattern #^Parameter \#1 \$column of method Illuminate\\Database\\Eloquent\\Relations\\HasMany\<Illuminate\\Database\\Eloquent\\Model,Illuminate\\Database\\Eloquent\\Model\>\:\:where\(\) expects array\<int\|model property of Illuminate\\Database\\Eloquent\\Model, mixed\>\|\(Closure\(Illuminate\\Database\\Eloquent\\Relations\\HasMany\)\: mixed\)\|Illuminate\\Contracts\\Database\\Query\\Expression\|model property of Illuminate\\Database\\Eloquent\\Model, 'id' given\.$# in path /home/runner/work/graphql-laravel/graphql-laravel/tests/Database/SelectFields/InterfaceTests/ExampleInterfaceType.php was not matched in reported errors.
Static Analysis: tests/Database/SelectFields/InterfaceTests/ExampleInterfaceType.php#L29
Parameter #1 $column of method Illuminate\Database\Eloquent\Builder<Illuminate\Database\Eloquent\Model>::where() expects array<int|model property of Illuminate\Database\Eloquent\Model, mixed>|(Closure(Illuminate\Database\Eloquent\Builder<Illuminate\Database\Eloquent\Model>): mixed)|Illuminate\Contracts\Database\Query\Expression|model property of Illuminate\Database\Eloquent\Model, 'id' given.
Static Analysis: tests/Database/SelectFields/NestedRelationLoadingTests/PostType.php#L1
Ignored error pattern #^Parameter \#1 \$column of method Illuminate\\Database\\Eloquent\\Relations\\HasMany\<Illuminate\\Database\\Eloquent\\Model,Illuminate\\Database\\Eloquent\\Model\>\:\:where\(\) expects array\<int\|model property of Illuminate\\Database\\Eloquent\\Model, mixed\>\|\(Closure\(Illuminate\\Database\\Eloquent\\Relations\\HasMany\)\: mixed\)\|Illuminate\\Contracts\\Database\\Query\\Expression\|model property of Illuminate\\Database\\Eloquent\\Model, 'comments\.flag' given\.$# in path /home/runner/work/graphql-laravel/graphql-laravel/tests/Database/SelectFields/NestedRelationLoadingTests/PostType.php was not matched in reported errors.
Static Analysis: tests/Database/SelectFields/NestedRelationLoadingTests/PostType.php#L34
Parameter #1 $column of method Illuminate\Database\Eloquent\Builder<Illuminate\Database\Eloquent\Model>::where() expects array<int|model property of Illuminate\Database\Eloquent\Model, mixed>|(Closure(Illuminate\Database\Eloquent\Builder<Illuminate\Database\Eloquent\Model>): mixed)|Illuminate\Contracts\Database\Query\Expression|model property of Illuminate\Database\Eloquent\Model, 'comments.flag' given.
Static Analysis: tests/Database/SelectFields/NestedRelationLoadingTests/UserType.php#L1
Ignored error pattern #^Parameter \#1 \$column of method Illuminate\\Database\\Eloquent\\Relations\\HasMany\<Illuminate\\Database\\Eloquent\\Model,Illuminate\\Database\\Eloquent\\Model\>\:\:where\(\) expects array\<int\|model property of Illuminate\\Database\\Eloquent\\Model, mixed\>\|\(Closure\(Illuminate\\Database\\Eloquent\\Relations\\HasMany\)\: mixed\)\|Illuminate\\Contracts\\Database\\Query\\Expression\|model property of Illuminate\\Database\\Eloquent\\Model, 'posts\.flag' given\.$# in path /home/runner/work/graphql-laravel/graphql-laravel/tests/Database/SelectFields/NestedRelationLoadingTests/UserType.php was not matched in reported errors.
Static Analysis: tests/Database/SelectFields/NestedRelationLoadingTests/UserType.php#L37
Parameter #1 $column of method Illuminate\Database\Eloquent\Builder<Illuminate\Database\Eloquent\Model>::where() expects array<int|model property of Illuminate\Database\Eloquent\Model, mixed>|(Closure(Illuminate\Database\Eloquent\Builder<Illuminate\Database\Eloquent\Model>): mixed)|Illuminate\Contracts\Database\Query\Expression|model property of Illuminate\Database\Eloquent\Model, 'posts.flag' given.
Static Analysis: tests/Database/SelectFields/NestedRelationLoadingTests/UserType.php#L47
Parameter #1 $column of method Illuminate\Database\Eloquent\Builder<Illuminate\Database\Eloquent\Model>::where() expects array<int|model property of Illuminate\Database\Eloquent\Model, mixed>|(Closure(Illuminate\Database\Eloquent\Builder<Illuminate\Database\Eloquent\Model>): mixed)|Illuminate\Contracts\Database\Query\Expression|model property of Illuminate\Database\Eloquent\Model, 'posts.flag' given.
Static Analysis: tests/Database/SelectFields/QueryArgsAndContextTests/PostType.php#L1
Ignored error pattern #^Parameter \#1 \$column of method Illuminate\\Database\\Eloquent\\Relations\\HasMany\<Illuminate\\Database\\Eloquent\\Model,Illuminate\\Database\\Eloquent\\Model\>\:\:where\(\) expects array\<int\|model property of Illuminate\\Database\\Eloquent\\Model, mixed\>\|\(Closure\(Illuminate\\Database\\Eloquent\\Relations\\HasMany\)\: mixed\)\|Illuminate\\Contracts\\Database\\Query\\Expression\|model property of Illuminate\\Database\\Eloquent\\Model, 'comments\.flag' given\.$# in path /home/runner/work/graphql-laravel/graphql-laravel/tests/Database/SelectFields/QueryArgsAndContextTests/PostType.php was not matched in reported errors.
Static Analysis: tests/Database/SelectFields/QueryArgsAndContextTests/PostType.php#L34
Parameter #1 $column of method Illuminate\Database\Eloquent\Builder<Illuminate\Database\Eloquent\Model>::where() expects array<int|model property of Illuminate\Database\Eloquent\Model, mixed>|(Closure(Illuminate\Database\Eloquent\Builder<Illuminate\Database\Eloquent\Model>): mixed)|Illuminate\Contracts\Database\Query\Expression|model property of Illuminate\Database\Eloquent\Model, 'comments.flag' given.
Static Analysis: tests/Database/SelectFields/QueryArgsAndContextTests/PostType.php#L36
Parameter #1 $column of method Illuminate\Database\Eloquent\Builder<Illuminate\Database\Eloquent\Model>::where() expects array<int|model property of Illuminate\Database\Eloquent\Model, mixed>|(Closure(Illuminate\Database\Eloquent\Builder<Illuminate\Database\Eloquent\Model>): mixed)|Illuminate\Contracts\Database\Query\Expression|model property of Illuminate\Database\Eloquent\Model, 'comments.flag' given.