diff --git a/composer.json b/composer.json index ccb4f63..e3ca0f3 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "laravel/legacy-factories": "^1.0", "laravel/pint": "^1.6", "orchestra/testbench": "^6.0|^7.0|^8.0", - "phpstan/phpstan": "^1.4", + "phpstan/phpstan": "^2.1", "phpunit/phpunit": "^9.3", "spatie/phpunit-snapshot-assertions": "^4.0" }, diff --git a/composer.lock b/composer.lock index 3933e9d..63ee6c8 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": "363f67cd910c1ba9a9f71aa0fd59eda5", + "content-hash": "52455b197d3f0d3a50aee8c7baf040f7", "packages": [ { "name": "brick/math", @@ -5791,20 +5791,15 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.25", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan.git", - "reference": "578f4e70d117f9a90699324c555922800ac38d8c" - }, + "version": "2.1.56", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/578f4e70d117f9a90699324c555922800ac38d8c", - "reference": "578f4e70d117f9a90699324c555922800ac38d8c", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/93a603c9fc3be8c3c93bbc8d22170ad766685537", + "reference": "93a603c9fc3be8c3c93bbc8d22170ad766685537", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "php": "^7.4|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -5843,13 +5838,9 @@ { "url": "https://github.com/phpstan", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", - "type": "tidelift" } ], - "time": "2023-07-06T12:11:37+00:00" + "time": "2026-05-26T17:04:57+00:00" }, { "name": "phpunit/php-code-coverage", @@ -8563,12 +8554,12 @@ ], "aliases": [], "minimum-stability": "dev", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": true, "prefer-lowest": false, "platform": { "php": "^8.1" }, - "platform-dev": [], - "plugin-api-version": "2.3.0" + "platform-dev": {}, + "plugin-api-version": "2.9.0" }