diff --git a/composer.json b/composer.json index cf8fcad..f850163 100644 --- a/composer.json +++ b/composer.json @@ -30,6 +30,7 @@ "phpunit/phpunit": "^8.5 || ^10.1 || ^11.0", "php-parallel-lint/php-parallel-lint": "^1.2", "php-parallel-lint/php-console-highlighter": "^1.0", + "phpstan/phpstan-deprecation-rules": "^1.2", "spaze/coding-standard": "^1.7" }, "autoload": { diff --git a/phpstan.neon b/phpstan.neon index fe1052d..9b15f43 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -13,6 +13,7 @@ parameters: includes: - vendor/phpstan/phpstan/conf/bleedingEdge.neon + - vendor/phpstan/phpstan-deprecation-rules/rules.neon - extension.neon - disallowed-dangerous-calls.neon - disallowed-execution-calls.neon