Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia committed Nov 25, 2024
1 parent 202d5b9 commit 319d93f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ parameters:
# Laravel 11 changes a lot of generics
- '#generic class (Illuminate\\Database\\Eloquent\\Builder|Laravel\\Scout\\Builder)( but)? does not specify its types#'
- '#contains generic type Illuminate\\Testing\\TestResponse<.+> but class Illuminate\\Testing\\TestResponse is not generic\.#'
- '#Generic type Illuminate\\Database\\Eloquent\\Relations\\HasMany<.+, .+> in PHPDoc tag @return specifies 2 template types, but class Illuminate\\Database\\Eloquent\\Relations\\HasMany supports only 1: TRelatedModel#'
- '#Method .+ should return Illuminate\\Database\\Eloquent\\Relations\\HasMany<(.+), .+> but returns Illuminate\\Database\\Eloquent\\Relations\\HasMany<\1>.#'
- '#Generic type Illuminate\\Database\\Eloquent\\Relations\\(HasMany|BelongsToMany|MorphOne|MorphMany)<.+, .+> in PHPDoc tag @return specifies 2 template types, but class Illuminate\\Database\\Eloquent\\Relations\\\1 supports only 1: TRelatedModel#'
- '#Method .+ should return Illuminate\\Database\\Eloquent\\Relations\\(HasMany|BelongsToMany|MorphOne|MorphMany)<(.+), .+> but returns Illuminate\\Database\\Eloquent\\Relations\\\1<\2>.#'

# This test cheats and uses reflection to make assertions
- path: tests/Unit/Schema/Directives/BaseDirectiveTest.php
Expand Down

0 comments on commit 319d93f

Please sign in to comment.