-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
28 lines (27 loc) · 993 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
parameters:
level: max
checkBenevolentUnionTypes: true
checkExplicitMixedMissingReturn: true
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
reportMaybesInPropertyPhpDocTypes: true
treatPhpDocTypesAsCertain: false
reportUnmatchedIgnoredErrors: false
paths:
- packages
- tests
excludePaths:
- tests/doctrine/*
- tests/var/*
- packages/collections-domain/src/Internal/DirectClosureExpressionVisitor.php
ignoreErrors:
-
message: '#Property .* is never assigned .+ so it can be removed from the property type.#'
reportUnmatched: false
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/ekino/phpstan-banned-code/extension.neon
- vendor/bnf/phpstan-psr-container/extension.neon
- phar://phpstan.phar/conf/bleedingEdge.neon