File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff 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 #'
You can’t perform that action at this time.
0 commit comments