-
Notifications
You must be signed in to change notification settings - Fork 0
/
.phpstan.neon
25 lines (24 loc) · 877 Bytes
/
.phpstan.neon
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
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/ekino/phpstan-banned-code/extension.neon
- vendor/korbeil/phpstan-generic-rules/extension.neon
parameters:
tmpDir: var/cache/phpstan
customRulesetUsed: true
reportMagicMethods: true
reportMagicProperties: true
inferPrivatePropertyTypeFromConstructor: true
autoload_directories: []
excludes_analyse:
- %currentWorkingDirectory%/var
universalObjectCratesClasses:
- PHPUnit\Framework\TestCase
polluteCatchScopeWithTryAssignments: true
reportUnmatchedIgnoredErrors: false
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
ignoreErrors:
-
message: '#Unreachable statement - code above always terminates.#'
path: tests/*