From 62d2b922b190419f7ab0bee6b6ae6a169d50108a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Apr 2026 08:18:43 +0000 Subject: [PATCH] Bump phpstan/phpstan from 1.10.25 to 2.1.46 Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.25 to 2.1.46. - [Release notes](https://github.com/phpstan/phpstan/releases) - [Changelog](https://github.com/phpstan/phpstan/blob/2.2.x/CHANGELOG.md) - [Commits](https://github.com/phpstan/phpstan/compare/1.10.25...2.1.46) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-version: 2.1.46 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 23 +++++++---------------- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/composer.json b/composer.json index 9892309..76378c0 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "require-dev": { "php": "^8.0", "pocketmine/pocketmine-mp": "^5.3.0", - "phpstan/phpstan": "1.10.25" + "phpstan/phpstan": "2.1.46" }, "scripts": { "phpstan": "vendor/bin/phpstan -c phpstan.neon.dist" diff --git a/composer.lock b/composer.lock index 92db7d6..2750558 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": "1bf3cad919834f4614d9398ba79535cc", + "content-hash": "b165f4dc3d57eab0c5b36362a41326b4", "packages": [ { "name": "adhocore/json-comment", @@ -1298,20 +1298,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.46", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/578f4e70d117f9a90699324c555922800ac38d8c", - "reference": "578f4e70d117f9a90699324c555922800ac38d8c", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/a193923fc2d6325ef4e741cf3af8c3e8f54dbf25", + "reference": "a193923fc2d6325ef4e741cf3af8c3e8f54dbf25", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "php": "^7.4|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -1350,13 +1345,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-04-01T09:25:14+00:00" } ], "aliases": [], @@ -1375,5 +1366,5 @@ "platform-overrides": { "php": "8.1" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.9.0" }