diff --git a/composer.json b/composer.json index 60babb1..6997a74 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,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": "^10.0 || ^11.4", "squizlabs/php_codesniffer": "^3.7" }, diff --git a/composer.lock b/composer.lock index 321ee81..e02ed50 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": "b38fd8114ba2cc28843d0e4db59cbf55", + "content-hash": "be3f3223a621458a501834aede50f5a9", "packages": [ { "name": "php-contrib/validator", @@ -1557,20 +1557,20 @@ }, { "name": "phpstan/phpstan", - "version": "1.12.14", + "version": "2.1.8", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "e73868f809e68fff33be961ad4946e2e43ec9e38" + "reference": "f9adff3b87c03b12cc7e46a30a524648e497758f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e73868f809e68fff33be961ad4946e2e43ec9e38", - "reference": "e73868f809e68fff33be961ad4946e2e43ec9e38", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/f9adff3b87c03b12cc7e46a30a524648e497758f", + "reference": "f9adff3b87c03b12cc7e46a30a524648e497758f", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "php": "^7.4|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -1611,7 +1611,7 @@ "type": "github" } ], - "time": "2024-12-31T07:26:13+00:00" + "time": "2025-03-09T09:30:48+00:00" }, { "name": "phpunit/php-code-coverage", @@ -4797,7 +4797,7 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": {}, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": { @@ -4807,5 +4807,5 @@ "ext-ast": "*", "ext-openssl": "*" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.3.0" }