-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
28 lines (23 loc) · 664 Bytes
/
phpstan.neon
File metadata and controls
28 lines (23 loc) · 664 Bytes
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
includes:
- phpstan-baseline.neon
parameters:
level: 8
paths:
- src
- functions.php
# Report all issues
reportUnmatchedIgnoredErrors: true
# Check all files, even without PHPDoc
checkGenericClassInNonGenericObjectType: true
checkMissingIterableValueType: false
# Additional checks
checkAlwaysTrueCheckTypeFunctionCall: true
checkAlwaysTrueInstanceof: true
checkAlwaysTrueStrictComparison: true
checkExplicitMixedMissingReturn: true
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
# Ignore errors from vendor
excludePaths:
- vendor
- tests