phpstan: start phasing in some level 6 checks

This commit is contained in:
Dylan K. Taylor 2020-01-09 19:56:04 +00:00
parent 3fff0a0656
commit 6dcd2a4ece
2 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,6 @@
includes:
- tests/phpstan/configs/gc-hacks.neon
- tests/phpstan/configs/gradual-level6.neon
- tests/phpstan/configs/optional-com-dotnet.neon
- tests/phpstan/configs/optional-leveldb.neon
- tests/phpstan/configs/phpstan-bugs.neon

View File

@ -0,0 +1,12 @@
parameters:
#checkGenericClassInNonGenericObjectType: true
#checkMissingIterableValueType: true
checkMissingVarTagTypehint: true
checkMissingTypehints: true
rules:
#- PHPStan\Rules\Functions\MissingFunctionParameterTypehintRule
#- PHPStan\Rules\Functions\MissingFunctionReturnTypehintRule
#- PHPStan\Rules\Methods\MissingMethodParameterTypehintRule
#- PHPStan\Rules\Methods\MissingMethodReturnTypehintRule
- PHPStan\Rules\Properties\MissingPropertyTypehintRule