diff --git a/composer.json b/composer.json index 70928671aa6e3..e20f4c7806b6e 100644 --- a/composer.json +++ b/composer.json @@ -52,7 +52,7 @@ "squizlabs/php_codesniffer": "3.13.5", "wp-coding-standards/wpcs": "~3.4.1", "phpcompatibility/phpcompatibility-wp": "~2.1.3", - "phpstan/phpstan": "2.3.4", + "phpstan/phpstan": "2.3.5", "phpstan/phpstan-phpunit": "2.1.1", "phpstan/phpstan-strict-rules": "2.1.1", "yoast/phpunit-polyfills": "^1.1.0" diff --git a/tests/phpstan/base.neon b/tests/phpstan/base.neon index be98b5e1503cc..1c102ca47e7da 100644 --- a/tests/phpstan/base.neon +++ b/tests/phpstan/base.neon @@ -105,10 +105,10 @@ parameters: # Cache is stored locally, so it's available for CI. tmpDir: ../../.cache - # The Minimum PHP Version + # Supported PHP versions. phpVersion: min: 70400 - max: 80500 + max: 80600 # If it's not enforced by PHP we can't assume users are passing valid values. treatPhpDocTypesAsCertain: false