diff --git a/composer.json b/composer.json index 53d637ae..4b01afd7 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ ], "require": { "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.12.66" + "phpstan/phpstan": "^0.12.96" }, "require-dev": { "php-parallel-lint/php-parallel-lint": "^1.2", diff --git a/rules.neon b/rules.neon index e737eaa8..ac01837e 100644 --- a/rules.neon +++ b/rules.neon @@ -9,6 +9,7 @@ parameters: checkMissingClosureNativeReturnTypehintRule: true reportMaybesInMethodSignatures: true reportStaticMethodSignatures: true + reportMaybesInPropertyPhpDocTypes: true rules: - PHPStan\Rules\BooleansInConditions\BooleanInBooleanNotRule