-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpstan.neon.dist
32 lines (32 loc) · 1.14 KB
/
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
31
32
parameters:
level: max
paths:
- src
- tests
- config
checkBenevolentUnionTypes: true
checkExplicitMixedMissingReturn: true
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
reportMaybesInPropertyPhpDocTypes: true
treatPhpDocTypesAsCertain: false
# unused_public:
# methods: true
# properties: true
# constants: true
ignoreErrors:
- '#ContainerBuilder::registerAttributeForAutoconfiguration#'
-
message: '#Property .* is never assigned .+ so it can be removed from the property type.#'
reportUnmatched: false
banned_code:
non_ignorable: false
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/bnf/phpstan-psr-container/extension.neon
- vendor/ekino/phpstan-banned-code/extension.neon
- vendor/dave-liddament/phpstan-php-language-extensions/extension.neon
# - vendor/tomasvotruba/unused-public/config/extension.neon
- phar://phpstan.phar/conf/bleedingEdge.neon