diff --git a/composer.json b/composer.json index 25c8020..d5bf3be 100644 --- a/composer.json +++ b/composer.json @@ -27,8 +27,8 @@ }, "require-dev": { "laminas/laminas-coding-standard": "^2.4", - "phpstan/phpstan": "^1.9", - "phpstan/phpstan-webmozart-assert": "^1.2", + "phpstan/phpstan": "^2.0", + "phpstan/phpstan-webmozart-assert": "^2.0", "phpunit/phpunit": "^10.0", "rector/rector": "dev-main" }, diff --git a/phpstan.neon b/phpstan.neon index ab69410..3d73dac 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,2 +1,5 @@ includes: - - vendor/phpstan/phpstan-webmozart-assert/extension.neon \ No newline at end of file + - vendor/phpstan/phpstan-webmozart-assert/extension.neon + +parameters: + treatPhpDocTypesAsCertain: false