From b907e4ea3de02de981c17ae7f7b03f51348afc15 Mon Sep 17 00:00:00 2001 From: Max Baldanza Date: Mon, 9 Nov 2026 11:38:55 +0000 Subject: [PATCH] Support phpdocumentor/reflection-docblock ^6.0 and type-resolver ^2.0 Widen the constraints so both the current (5.x / 1.x) and new (6.x / 2.x) major versions can be installed. DocBlockTypeGuesser works unchanged with both versions. --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index d4c5338f5..e65f81ff4 100644 --- a/composer.json +++ b/composer.json @@ -35,8 +35,8 @@ "php": ">=8.1", "ext-json": "*", "murtukov/php-code-generator": "^0.1.5", - "phpdocumentor/reflection-docblock": "^5.2", - "phpdocumentor/type-resolver": "^1.6.1", + "phpdocumentor/reflection-docblock": "^5.2 || ^6.0", + "phpdocumentor/type-resolver": "^1.6.1 || ^2.0", "psr/log": "^1.0 || ^2.0 || ^3.0", "symfony/config": "^5.4.46 || ^6.4.32 || ^7.0 || ^8.0", "symfony/dependency-injection": "^5.4.48 || ^6.4.32 || ^7.0 || ^8.0",