diff --git a/phpstan.neon b/phpstan.neon index 925b0b0..e3c1480 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -5,6 +5,5 @@ includes: - vendor/phpstan/phpstan-phpunit/extension.neon parameters: - deprecationRulesInstalled: true excludePaths: - tests/*/data/* diff --git a/rules.neon b/rules.neon index a8f89b8..9d1d91d 100644 --- a/rules.neon +++ b/rules.neon @@ -2,6 +2,9 @@ services: - class: PHPStan\Rules\Deprecations\DeprecatedClassHelper +parameters: + deprecationRulesInstalled: true + rules: - PHPStan\Rules\Deprecations\AccessDeprecatedPropertyRule - PHPStan\Rules\Deprecations\AccessDeprecatedStaticPropertyRule