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..f14e7872 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.1", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "f6a60a4d66142b8156c9da923f1972657bc4748c" + "reference": "ab4e9b4415a5fc9e4d27f7fe16c8bc9d067dcd6d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/f6a60a4d66142b8156c9da923f1972657bc4748c", - "reference": "f6a60a4d66142b8156c9da923f1972657bc4748c", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ab4e9b4415a5fc9e4d27f7fe16c8bc9d067dcd6d", + "reference": "ab4e9b4415a5fc9e4d27f7fe16c8bc9d067dcd6d", "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-11T15:43:04+00:00" }, { "name": "psr/container",