diff --git a/composer.json b/composer.json
index 622e751..53ed319 100644
--- a/composer.json
+++ b/composer.json
@@ -14,7 +14,7 @@
         "doctrine/coding-standard": "^12.0.0",
         "infection/infection": "^0.27.11",
         "maglnet/composer-require-checker": "^4.7.1",
-        "phpstan/phpstan-phpunit": "^1.4.1",
+        "phpstan/phpstan-phpunit": "^2.0.4",
         "phpstan/phpstan-strict-rules": "^1.6.1",
         "phpunit/phpunit": "^10.5.38",
         "squizlabs/php_codesniffer": "^3.11.0"