Skip to content

Commit 247f8e2

Browse files
authored
Merge pull request #9 from cego/niza/more-stan-ignore
Niza/more stan ignore
2 parents 37e8e5f + 2000cd0 commit 247f8e2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

extension.neon

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,13 @@ parameters:
2020
# Allow mixed types for collect function
2121
- '#Unable to resolve the template type (TKey|TValue) in call to function collect#'
2222

23+
# Allow collection methods on relationship properties
24+
- '#Cannot call method (each|reject|transform|map|filter|only|except|reduce|count)\(\) on.*Illuminate\\Database\\Eloquent\\Collection#'
25+
26+
# Ignore relationship generics
27+
- '#Generic type Illuminate\\Database\\Eloquent\\Relations\\#'
28+
- '#should return Illuminate\\Database\\Eloquent\\Relations\\.*?but returns.*Illuminate\\Database\\Eloquent\\Relations\\#'
29+
- '#generic class Illuminate\\Database\\Eloquent\\(Builder|Relations\\).*? does not specify its types:#'
30+
2331
# Laravel-Ide-Helper integration
2432
- '#PHPDoc tag @mixin contains unknown class Eloquent#'

0 commit comments

Comments
 (0)