-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathphpstan.neon
More file actions
30 lines (30 loc) · 820 Bytes
/
phpstan.neon
File metadata and controls
30 lines (30 loc) · 820 Bytes
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
parameters:
level: 9
phpVersion: 70430 # PHP 7.4.30
ignoreErrors:
-
message: "#^If condition is always true.$#"
count: 1
path: lib/Loop/Loop.php
-
message: "#^Left side of && is always true.$#"
count: 1
path: lib/Loop/Loop.php
-
message: "#^Variable \\$timer might not be defined.$#"
count: 1
path: lib/Loop/Loop.php
-
message: "#^Only booleans are allowed in an if condition, int<0, max>|false given.$#"
count: 1
path: lib/Loop/Loop.php
-
message: "#^Instanceof between Generator<mixed, mixed, mixed, TReturn> and Generator will always evaluate to true.$#"
count: 1
path: lib/coroutine.php
-
message: "#^.* will always evaluate to true\\.$#"
path: tests/*
-
message: "#^.* will always evaluate to false\\.$#"
path: tests/*