forked from Cacti/cacti
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.phpstan.neon
More file actions
39 lines (39 loc) · 1.36 KB
/
.phpstan.neon
File metadata and controls
39 lines (39 loc) · 1.36 KB
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
parameters:
parallel:
maximumNumberOfProcesses: 8
scanDirectories:
- include
excludePaths:
analyse:
- include/vendor/*
- plugins/*
paths:
- include
- lib
- install
- .
bootstrapFiles:
- .phpstan-bootstrap.php
- include/global_constants.php
- include/global.php
- include/global_languages.php
- include/global_arrays.php
- include/global_form.php
- include/global_settings.php
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- identifier: missingType.iterableValue
# PHPStan gets confused about dynamic constants
- identifier: if.alwaysFalse
- identifier: notEqual.alwaysFalse
- identifier: notEqual.alwaysTrue
- identifier: equal.alwaysTrue
- identifier: if.alwaysTrue
- identifier: while.alwaysTrue
- identifier: greater.alwaysFalse
- identifier: identical.alwaysTrue
- identifier: identical.alwaysFalse
- identifier: booleanAnd.leftAlwaysTrue
- identifier: booleanAnd.leftAlwaysFalse
# L9 - '/^Parameter #1 \$value of function strval expects bool\|float\|int\|resource\|string\|null, mixed given.$/'
# L9 - '/^Parameter #1 \$value of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given.$/'