-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
30 lines (30 loc) · 961 Bytes
/
phpstan.neon.dist
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
includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
parameters:
level: max
checkGenericClassInNonGenericObjectType: false
reportUnmatchedIgnoredErrors: false
checkTooWideReturnTypesInProtectedAndPublicMethods: false
checkUninitializedProperties: true
checkImplicitMixed: true
checkBenevolentUnionTypes: true
exceptions:
check:
missingCheckedExceptionInThrows: true
tooWideThrowType: true
implicitThrows: false
uncheckedExceptionClasses:
- 'LogicException'
paths:
- src
- tests
ignoreErrors:
-
message: '#.*missing from the PHPDoc @throws tag#'
path: tests
-
message: '#.*will always evaluate to true#'
path: tests