diff --git a/tools/composer.json b/tools/composer.json
index 421e5922..0101d8ce 100644
--- a/tools/composer.json
+++ b/tools/composer.json
@@ -3,7 +3,7 @@
     "description": "Aeon PHP Calendar - Tools",
     "require-dev": {
         "phpunit/phpunit": "^9.5",
-        "phpstan/phpstan": "^1.1.2",
+        "phpstan/phpstan": "^2.1.17",
         "infection/infection": "^0.29.10",
         "phpbench/phpbench": "^1.2.6",
         "friendsofphp/php-cs-fixer": "^3.1",
diff --git a/tools/composer.lock b/tools/composer.lock
index e34e4622..16c82372 100644
--- a/tools/composer.lock
+++ b/tools/composer.lock
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "53321ef7b09ed99fff229ebd1d8b1a32",
+    "content-hash": "aa55408711620f2c1ccb4d9ecdb949a7",
     "packages": [],
     "packages-dev": [
         {
@@ -1905,20 +1905,20 @@
         },
         {
             "name": "phpstan/phpstan",
-            "version": "1.12.16",
+            "version": "2.1.17",
             "source": {
                 "type": "git",
                 "url": "https://github.com/phpstan/phpstan.git",
-                "reference": "e0bb5cb78545aae631220735aa706eac633a6be9"
+                "reference": "89b5ef665716fa2a52ecd2633f21007a6a349053"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e0bb5cb78545aae631220735aa706eac633a6be9",
-                "reference": "e0bb5cb78545aae631220735aa706eac633a6be9",
+                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/89b5ef665716fa2a52ecd2633f21007a6a349053",
+                "reference": "89b5ef665716fa2a52ecd2633f21007a6a349053",
                 "shasum": ""
             },
             "require": {
-                "php": "^7.2|^8.0"
+                "php": "^7.4|^8.0"
             },
             "conflict": {
                 "phpstan/phpstan-shim": "*"
@@ -1959,7 +1959,7 @@
                     "type": "github"
                 }
             ],
-            "time": "2025-01-21T14:50:05+00:00"
+            "time": "2025-05-21T20:55:28+00:00"
         },
         {
             "name": "phpunit/php-code-coverage",