forked from FriendsOfCake/cakephp-upload
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
31 lines (27 loc) · 965 Bytes
/
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
parameters:
level: 7
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
paths:
- src
ignoreErrors:
-
message: "#^Parameter \\#1 \\$field of method Cake\\\\Datasource\\\\EntityInterface\\:\\:get\\(\\) expects string, array\\<string\\>\\|string given\\.$#"
count: 1
path: src/File/Path/DefaultProcessor.php
-
message: "#^Constant ROOT not found\\.$#"
count: 1
path: src/File/Writer/DefaultWriter.php
-
message: "#^Parameter \\#1 \\$key of method Cake\\\\ORM\\\\Behavior\\:\\:setConfig\\(\\) expects array\\<string, mixed\\>\\|string, array\\<int\\|string, mixed\\> given\\.$#"
count: 1
path: src/Model/Behavior/UploadBehavior.php
-
message: "#^Cannot use array destructuring on array\\|false\\.$#"
count: 4
path: src/Validation/DefaultValidation.php
-
message: "#^Cannot use array destructuring on array\\|false\\.$#"
count: 4
path: src/Validation/ImageValidation.php