forked from loophp/collection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
32 lines (26 loc) · 1.11 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
parameters:
ignoreErrors:
-
message: "#^Anonymous function with return type void returns void but should not return anything\\.$#"
count: 2
path: src/Operation/Combinate.php
-
message: "#^Method loophp\\\\collection\\\\Operation\\\\Group\\:\\:__invoke\\(\\) should return Closure\\(Iterator\\<TKey, T\\>\\)\\: Generator\\<int, array\\<int, T\\>, mixed, mixed\\> but returns Closure\\(Iterator\\)\\: Generator\\<int, array\\<int, mixed\\>&nonEmpty, mixed, void\\>\\.$#"
count: 1
path: src/Operation/Group.php
-
message: "#^Strict comparison using \\=\\=\\= between array\\(\\) and array\\<int, T\\>&nonEmpty will always evaluate to false\\.$#"
count: 1
path: src/Operation/Permutate.php
-
message: "#^Anonymous function should return EmptyIterator but return statement is missing\\.$#"
count: 1
path: src/Operation/Times.php
-
message: "#^Anonymous function should have native return typehint \"\\?T\"\\.$#"
count: 1
path: src/Operation/Unwindow.php
-
message: "#^Foreach overwrites \\$value with its value variable\\.$#"
count: 1
path: src/Operation/Unwindow.php