diff --git a/composer.json b/composer.json index 34694f12..559033d1 100644 --- a/composer.json +++ b/composer.json @@ -50,7 +50,7 @@ "wp-coding-standards/wpcs": "^3.0", "humbug/php-scoper": "^0.18.1", "skaut/wordpress-stubs": "^2.1", - "phpstan/phpstan": "^1.6", + "phpstan/phpstan": "^2.0", "dealerdirect/phpcodesniffer-composer-installer": "^1.0" } } diff --git a/composer.lock b/composer.lock index 7be03b3c..0b752a07 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": "c832e8ef6a5dac31452470f3d155538a", + "content-hash": "0dbfec5be1437061e51e3fc6c6e0dcfc", "packages": [ { "name": "skautis/skautis", @@ -1726,20 +1726,20 @@ }, { "name": "phpstan/phpstan", - "version": "1.12.8", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "f6a60a4d66142b8156c9da923f1972657bc4748c" + "reference": "72115ab2bf1e40af1f9b238938d493ba7f3221e7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/f6a60a4d66142b8156c9da923f1972657bc4748c", - "reference": "f6a60a4d66142b8156c9da923f1972657bc4748c", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/72115ab2bf1e40af1f9b238938d493ba7f3221e7", + "reference": "72115ab2bf1e40af1f9b238938d493ba7f3221e7", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "php": "^7.4|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -1780,7 +1780,7 @@ "type": "github" } ], - "time": "2024-11-06T19:06:49+00:00" + "time": "2024-11-11T07:06:55+00:00" }, { "name": "psr/container",