-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-errors.neon
More file actions
27 lines (22 loc) · 836 Bytes
/
phpstan-errors.neon
File metadata and controls
27 lines (22 loc) · 836 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
parameters:
ignoreErrors:
-
message: "#^Comparison operation \"\\<\" between int\\<0, 4294967296\\> and 0 is always false\\.$#"
count: 1
path: src/Globals/JSArray.php
-
message: "#^Comparison operation \"\\<\" between int\\<0, max\\> and 0 is always false\\.$#"
count: 1
path: src/Globals/JSString.php
-
message: "#^Method JSString\\:\\:split\\(\\) should return JSArray\\<string\\> but returns JSArray\\<null\\>\\.$#"
count: 1
path: src/Globals/JSString.php
-
message: "#^Parameter \\#1 \\$arrayLength of function JSArray expects int\\|null, string given\\.$#"
count: 1
path: src/Globals/JSString.php
-
message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#"
count: 2
path: src/Globals/JSString.php