-
Notifications
You must be signed in to change notification settings - Fork 62
/
phpstan.neon
40 lines (40 loc) · 1.13 KB
/
phpstan.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
32
33
34
35
36
37
38
39
40
parameters:
level: 6
phpVersion: 70430 # PHP 7.4.30
ignoreErrors:
-
message: "#^Negated boolean expression is always true.$#"
count: 1
path: lib/Client.php
-
message: "#^If condition is always false.$#"
count: 3
path: lib/Client.php
-
message: "#^Left side of || is always false.$#"
count: 6
path: lib/Client.php
-
message: "#^Else branch is unreachable because ternary operator condition is always true.$#"
count: 1
path: lib/Auth/Digest.php
-
message: "#^Strict comparison using !== between '' and non-empty-string will always evaluate to true.$#"
count: 1
path: lib/Auth/Digest.php
-
message: "#^Casting to string something that's already string.$#"
count: 1
path: lib/Sapi.php
-
message: "#^Strict comparison using === between null and array<string, mixed> will always evaluate to false.$#"
count: 1
path: lib/functions.php
-
message: "#^Offset 'value' on array.* in isset\\(\\) always exists and is not nullable.$#"
count: 1
path: lib/functions.php
-
message: "#^.* will always evaluate to true\\.$#"
count: 4
path: tests/*