diff --git a/composer.json b/composer.json index 19d70af..2a198aa 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,7 @@ "laminas/laminas-servicemanager": "^3.20", "patchlevel/coding-standard": "^1.2.0", "phpspec/prophecy-phpunit": "^2.0.1", - "phpstan/phpstan": "^1.8.2", + "phpstan/phpstan": "^2.0.0", "phpunit/phpunit": "^9.5.23", "psalm/plugin-phpunit": "^0.18.0", "roave/infection-static-analysis-plugin": "^1.22.0", diff --git a/composer.lock b/composer.lock index a57a941..409360c 100644 --- a/composer.lock +++ b/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": "87bc7589d99937dcb8e572d3f356387e", + "content-hash": "093ff885524282ddcea72785662cf2aa", "packages": [ { "name": "doctrine/cache", @@ -4012,20 +4012,15 @@ }, { "name": "phpstan/phpstan", - "version": "1.9.4", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan.git", - "reference": "d03bccee595e2146b7c9d174486b84f4dc61b0f2" - }, + "version": "2.1.32", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d03bccee595e2146b7c9d174486b84f4dc61b0f2", - "reference": "d03bccee595e2146b7c9d174486b84f4dc61b0f2", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e126cad1e30a99b137b8ed75a85a676450ebb227", + "reference": "e126cad1e30a99b137b8ed75a85a676450ebb227", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "php": "^7.4|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -4050,8 +4045,11 @@ "static analysis" ], "support": { + "docs": "https://phpstan.org/user-guide/getting-started", + "forum": "https://github.com/phpstan/phpstan/discussions", "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/1.9.4" + "security": "https://github.com/phpstan/phpstan/security/policy", + "source": "https://github.com/phpstan/phpstan-src" }, "funding": [ { @@ -4061,13 +4059,9 @@ { "url": "https://github.com/phpstan", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", - "type": "tidelift" } ], - "time": "2022-12-17T13:33:52+00:00" + "time": "2025-11-11T15:18:17+00:00" }, { "name": "phpunit/php-code-coverage", @@ -6496,12 +6490,12 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, "platform": { "php": "~8.1.0 || ~8.2.0" }, - "platform-dev": [], - "plugin-api-version": "2.3.0" + "platform-dev": {}, + "plugin-api-version": "2.6.0" }