diff --git a/composer.json b/composer.json index df62f60..3609cc1 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ }, "require-dev": { - "phpstan/phpstan": "^1.10", + "phpstan/phpstan": "^1.10 || ^2.0", "phpunit/phpunit": "^10.2", "phpmd/phpmd": "^2.13", "squizlabs/php_codesniffer": "^3.7" diff --git a/composer.lock b/composer.lock index 91295f7..532b841 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": "c15af43b0846c2795476bd7f8a2d5664", + "content-hash": "1e98e7641c165af287898ab3cd8c72e6", "packages": [ { "name": "magicalex/write-ini-file", @@ -1345,20 +1345,15 @@ }, { "name": "phpstan/phpstan", - "version": "1.12.29", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan.git", - "reference": "0835c625a38ac6484f050077116b6668bc3ab57d" - }, + "version": "2.1.31", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/0835c625a38ac6484f050077116b6668bc3ab57d", - "reference": "0835c625a38ac6484f050077116b6668bc3ab57d", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ead89849d879fe203ce9292c6ef5e7e76f867b96", + "reference": "ead89849d879fe203ce9292c6ef5e7e76f867b96", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "php": "^7.4|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -1399,7 +1394,7 @@ "type": "github" } ], - "time": "2025-09-16T08:46:57+00:00" + "time": "2025-10-10T14:14:11+00:00" }, { "name": "phpunit/php-code-coverage",