diff --git a/composer.json b/composer.json index 5fd4668..056edbf 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "phan/phan": "^5.4", "php-coveralls/php-coveralls": "^2.5", "phpmd/phpmd": "^2.13", - "phpstan/phpstan": "^1.9", + "phpstan/phpstan": "^1.9 || ^2.0", "phpunit/phpunit": "^11.1.3", "squizlabs/php_codesniffer": "^3.7" }, diff --git a/composer.lock b/composer.lock index 782e0e9..2d6b2d9 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": "8af59c56772bb64cc660051e64bc73d5", + "content-hash": "70a428e0b5ab9a03b95013f55b7c7594", "packages": [], "packages-dev": [ { @@ -1515,20 +1515,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": "*" @@ -1569,7 +1569,7 @@ "type": "github" } ], - "time": "2024-11-28T22:13:23+00:00" + "time": "2024-11-28T22:19:37+00:00" }, { "name": "phpunit/php-code-coverage", @@ -4702,7 +4702,7 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": {}, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": {