Skip to content

Commit 062f010

Browse files
authored
Merge pull request #7 from cego/niza/add-more-ignore-rules
Niza/add more ignore rules
2 parents bfbbb3c + 57956f9 commit 062f010

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

extension.neon

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ parameters:
1515

1616
# Allow arrow functions for collecitons
1717
- '#Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<mixed\,mixed\>\:\:each\(\) expects callable\(mixed\, mixed\)\: bool\|void, Closure#'
18-
- '#Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<.+?\,.+?\>\:\:each\(\) expects callable\(.+?\, .+?\)\:\s?bool\|void, Closure#'
18+
- '#Parameter \#1 \$callback of method Illuminate\\Support\\(Collection|LazyCollection).*?\:\:(each|reject|transform|map|filter|only|except|reduce).*?expects.*?(Closure|callable).*?(Closure|callable).*?given#'
19+
20+
# Allow mixed types for collect function
21+
- '#Unable to resolve the template type (TKey|TValue) in call to function collect#'
1922

2023
# Laravel-Ide-Helper integration
2124
- '#PHPDoc tag @mixin contains unknown class Eloquent#'

0 commit comments

Comments
 (0)