-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpstan.neon.dist
34 lines (33 loc) · 1.19 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
33
parameters:
level: max
paths:
- src
- config
- tests/src
- tests/config
excludePaths:
- tests/config/rekalogika-mapper
checkBenevolentUnionTypes: true
checkExplicitMixedMissingReturn: true
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
reportMaybesInPropertyPhpDocTypes: true
treatPhpDocTypesAsCertain: false
ignoreErrors:
- '#ContainerBuilder::registerAttributeForAutoconfiguration#'
-
message: '#Property .* is never assigned .+ so it can be removed from the property type.#'
reportUnmatched: false
banned_code:
non_ignorable: false
rekalogika-mapper:
mapperDumpFile: tests/config/rekalogika-mapper/generated-mappings.php
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
- phar://phpstan.phar/conf/bleedingEdge.neon
- phpstan-extension.neon