-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphpstan.neon
21 lines (18 loc) · 979 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
parameters:
level: max
# These are errors that we kind of handle in the type annotations, but checking them
# explicitly is too costly to be worth it. If the functions fail things will blow up
# and it should be easy enough to figure out what's wrong
ignoreErrors:
-
message: "#^Argument of an invalid type array\\<int, string\\>\\|false supplied for foreach, only iterables are supported\\.$#"
count: 1
path: src/Loader/DirectoryLoader.php
-
message: "#^Parameter \\#1 \\$input of function array_keys expects array, array\\<string, float\\|int\\|string\\|null\\>\\|false given\\.$#"
count: 1
path: src/Persister/MySqlPersister.php
-
message: "#^Parameter \\#1 \\$input of function array_keys expects array, array\\<string, float\\|int\\|string\\|null\\>\\|false given\\.$#"
count: 1
path: src/Persister/SqlitePersister.php