diff --git a/composer.json b/composer.json index fce1566..22c5764 100644 --- a/composer.json +++ b/composer.json @@ -36,7 +36,7 @@ "league/commonmark": "^2.4", "patchlevel/coding-standard": "^1.3.0", "phpspec/prophecy-phpunit": "^2.1.0", - "phpstan/phpstan": "^1.10.48", + "phpstan/phpstan": "^2.0.0", "phpunit/phpunit": "^10.5.2", "psalm/plugin-symfony": "^5.1.0", "roave/security-advisories": "dev-master", diff --git a/composer.lock b/composer.lock index 9d7fef2..5583e22 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": "08b2cce2f8c8047788fb97adb74814de", + "content-hash": "02a69414b30690d4aca11324fd7b3f99", "packages": [ { "name": "brick/math", @@ -5914,20 +5914,20 @@ }, { "name": "phpstan/phpstan", - "version": "1.12.12", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "b5ae1b88f471d3fd4ba1aa0046234b5ca3776dd0" + "reference": "46b4d3529b12178112d9008337beda0cc2a1a6b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/b5ae1b88f471d3fd4ba1aa0046234b5ca3776dd0", - "reference": "b5ae1b88f471d3fd4ba1aa0046234b5ca3776dd0", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/46b4d3529b12178112d9008337beda0cc2a1a6b4", + "reference": "46b4d3529b12178112d9008337beda0cc2a1a6b4", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "php": "^7.4|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -5968,7 +5968,7 @@ "type": "github" } ], - "time": "2024-11-28T22:13:23+00:00" + "time": "2024-11-28T22:19:37+00:00" }, { "name": "phpunit/php-code-coverage",