-
-
Notifications
You must be signed in to change notification settings - Fork 413
/
Copy path.phpstan.neon
31 lines (31 loc) · 1.1 KB
/
.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:
scanDirectories:
- include
excludePaths:
analyse:
- vendor/*
- include/vendor/*
paths:
- include
- lib
- install
- .
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.$/'
parallel:
maximumNumberOfProcesses: 8