forked from mozilla/releases_insights
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
25 lines (23 loc) · 813 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
parameters:
bootstrapFiles:
- app/inc/config.php
paths:
- app
- public
ignoreErrors:
-
message: "#^Variable \\$url might not be defined\\.#"
count: 1
path: app/inc/init.php
-
message: "#^Comparison operation \"\\>\" between int\\<[0-9]+, max\\> and [0-9]+ is always true\\.#"
count: 1
path: app/controllers/release.php
-
message: "#^Strict comparison using !== between [0-9]+ and [0-9]+ will always evaluate to false\\.$#"
count: 1
path: app/models/home.php
- '#.+?function array_multisort is passed by reference, so it expects variables only#'
reportUnmatchedIgnoredErrors: false
treatPhpDocTypesAsCertain: false
level: 6