diff --git a/composer.json b/composer.json index 1831907..49d3db3 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "require-dev": { "php": "^8.0", "pocketmine/pocketmine-mp": "^5.36.0", - "phpstan/phpstan": "1.10.25" + "phpstan/phpstan": "2.1.36" }, "repositories": [ { diff --git a/composer.lock b/composer.lock index 8d6eb59..c71df9c 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": "b943787ee9116f619ebde02a4f770f0d", + "content-hash": "61fcc1b15a457c349638b61504ab57b1", "packages": [ { "name": "adhocore/json-comment", @@ -1330,20 +1330,15 @@ "packages-dev": [ { "name": "phpstan/phpstan", - "version": "1.10.25", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan.git", - "reference": "578f4e70d117f9a90699324c555922800ac38d8c" - }, + "version": "2.1.36", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/578f4e70d117f9a90699324c555922800ac38d8c", - "reference": "578f4e70d117f9a90699324c555922800ac38d8c", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/2132e5e2361d11d40af4c17faa16f043269a4cf3", + "reference": "2132e5e2361d11d40af4c17faa16f043269a4cf3", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "php": "^7.4|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -1382,13 +1377,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-01-21T13:58:26+00:00" } ], "aliases": [], @@ -1403,12 +1394,12 @@ }, "prefer-stable": false, "prefer-lowest": false, - "platform": [], + "platform": {}, "platform-dev": { "php": "^8.0" }, "platform-overrides": { "php": "8.1" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" }