From e4d181f313f3b3b0680850f1e6edf6c94652a52e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Wi=C4=99cek?= Date: Sun, 22 Nov 2026 15:16:06 +0100 Subject: [PATCH] Update phpstan/phpstan to 1.12.34 so composer phpstan runs on PHP 8.4 PHPStan 1.10.55 dies on PHP 8.4 with a fatal error in its bundled BetterReflection (ReflectionClass::IS_READONLY type mismatch). 1.12.34 fits the existing ^1.10 constraint and still supports PHP 7.4. Only the lock file changes; the analysis reports no errors. --- composer.lock | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/composer.lock b/composer.lock index c61304d..d416ebd 100644 --- a/composer.lock +++ b/composer.lock @@ -1256,16 +1256,11 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.55", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan.git", - "reference": "9a88f9d18ddf4cf54c922fbeac16c4cb164c5949" - }, + "version": "1.12.34", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/9a88f9d18ddf4cf54c922fbeac16c4cb164c5949", - "reference": "9a88f9d18ddf4cf54c922fbeac16c4cb164c5949", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/4dd89ca7aa30fdc6760be21550d583bcc32e8476", + "reference": "4dd89ca7aa30fdc6760be21550d583bcc32e8476", "shasum": "" }, "require": { @@ -1308,13 +1303,10 @@ { "url": "https://github.com/phpstan", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", - "type": "tidelift" } ], - "time": "2024-01-08T12:32:40+00:00" + "time": "2026-07-28T10:04:39+00:00", + "published-time": "2026-07-28T10:04:54+00:00" }, { "name": "phpunit/php-code-coverage", @@ -4340,7 +4332,7 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, "platform": { @@ -4349,9 +4341,9 @@ "ext-json": "*", "ext-mbstring": "*" }, - "platform-dev": [], + "platform-dev": {}, "platform-overrides": { "php": "7.4" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.11.0" }