Configuración del archivo de PHPStan

De Wiki Proyectos Beta
Ir a la navegación Ir a la búsqueda

Symfony

Nivel máximo

Archivo phpstan.dist.neon

parameters:
   level: max
   checkMissingIterableValueType: true
   checkGenericClassInNonGenericObjectType: true
   checkUnionTypes: true
   checkExplicitMixed: true
   inferPrivatePropertyTypeFromConstructor: true
   checkDynamicProperties: true

includes:
   - vendor/phpstan/phpstan-symfony/extension.neon
   - vendor/phpstan/phpstan-symfony/rules.neon