-
Notifications
You must be signed in to change notification settings - Fork 2
/
phpstan.neon.dist
27 lines (22 loc) · 998 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
includes:
- tools/phpstan/vendor/phpstan/phpstan-phpunit/extension.neon
- tools/phpstan/vendor/phpstan/phpstan-phpunit/rules.neon
- tools/phpstan/vendor/phpstan/phpstan-symfony/extension.neon
- tools/phpstan/vendor/phpstan/phpstan-symfony/rules.neon
rules:
- SlamPhpStan\SymfonyFilesystemRule
- SlamPhpStan\SymfonyProcessRule
- TheCodingMachine\PHPStan\Rules\Exceptions\ThrowMustBundlePreviousExceptionRule
parameters:
bootstrapFiles:
- %rootDir%/../../../vendor/autoload.php
excludes_analyse:
- %currentWorkingDirectory%/src/Resources/*
ignoreErrors:
-
message: '#Strict comparison using === between false and array\<string\>\|string\|null will always evaluate to false\.#'
path: %currentWorkingDirectory%/src/Maker/Make*.php
treatPhpDocTypesAsCertain: false
checkGenericClassInNonGenericObjectType: false
inferPrivatePropertyTypeFromConstructor: true
reportUnmatchedIgnoredErrors: false