From a61aa8538881274aeee6412954541eb482e03244 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 3 Jul 2026 08:46:58 +0000 Subject: [PATCH] Update dependency phpstan/phpstan to v2 --- composer.json | 2 +- composer.lock | 26 +++++++++++++++++--------- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/composer.json b/composer.json index 6a27339..909f6fc 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "require-dev": { "friendsofphp/php-cs-fixer": "^3.95.10", "php-di/php-di": "^6.4.0", - "phpstan/phpstan": "^1.12.33", + "phpstan/phpstan": "^2.0.0", "phpunit/phpunit": "^9.6.34", "squizlabs/php_codesniffer": "^4.0.1" }, diff --git a/composer.lock b/composer.lock index 21a4baa..74f8d61 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": "8cad1b79534bbd4418f2c3a632cfe977", + "content-hash": "e7026c0f8fefb51760d7157e26a4bbda", "packages": [ { "name": "cakephp/chronos", @@ -1862,15 +1862,15 @@ }, { "name": "phpstan/phpstan", - "version": "1.12.33", + "version": "2.2.4", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/37982d6fc7cbb746dda7773530cda557cdf119e1", - "reference": "37982d6fc7cbb746dda7773530cda557cdf119e1", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/f0fe3fb03bb53ce68cc2416785b260e62226ec27", + "reference": "f0fe3fb03bb53ce68cc2416785b260e62226ec27", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "php": "^7.4|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -1889,6 +1889,17 @@ "license": [ "MIT" ], + "authors": [ + { + "name": "Ondřej Mirtes" + }, + { + "name": "Markus Staab" + }, + { + "name": "Vincent Langlet" + } + ], "description": "PHPStan - PHP Static Analysis Tool", "keywords": [ "dev", @@ -1911,7 +1922,7 @@ "type": "github" } ], - "time": "2026-02-28T20:30:03+00:00" + "time": "2026-07-03T07:00:23+00:00" }, { "name": "phpunit/php-code-coverage", @@ -5502,8 +5513,5 @@ "ext-dom": "*" }, "platform-dev": {}, - "platform-overrides": { - "php": "7.4.33" - }, "plugin-api-version": "2.9.0" }