diff --git a/composer.json b/composer.json index 6bf3993..b7b76a8 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "require-dev": { "friendsofphp/php-cs-fixer": " ^3.64.0", "mongodb/mongodb": "^1.19.1", - "phpstan/phpstan": "^1.12.3", + "phpstan/phpstan": "^1.12.3 || ^2.0.0", "phpunit/phpunit": "^9.6.20", "roave/backward-compatibility-check": " ^7.1 || ^8.6 || ^8.6", "symfony/dotenv": "^6.4.10", diff --git a/composer.lock b/composer.lock index 6e5f6e9..8f4d6f1 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": "b6d196ed78e4968dd8abf137396054bc", + "content-hash": "ba5ae69d7bc978c834b0379a53eafb04", "packages": [ { "name": "brick/math", @@ -4922,20 +4922,20 @@ }, { "name": "phpstan/phpstan", - "version": "1.12.3", + "version": "2.1.11", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "0fcbf194ab63d8159bb70d9aa3e1350051632009" + "reference": "8ca5f79a8f63c49b2359065832a654e1ec70ac30" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/0fcbf194ab63d8159bb70d9aa3e1350051632009", - "reference": "0fcbf194ab63d8159bb70d9aa3e1350051632009", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/8ca5f79a8f63c49b2359065832a654e1ec70ac30", + "reference": "8ca5f79a8f63c49b2359065832a654e1ec70ac30", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "php": "^7.4|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -4976,7 +4976,7 @@ "type": "github" } ], - "time": "2024-09-09T08:10:35+00:00" + "time": "2025-03-24T13:45:00+00:00" }, { "name": "phpunit/php-code-coverage", @@ -8098,5 +8098,5 @@ "ext-json": "*" }, "platform-dev": [], - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.3.0" }