From bdb87d6f0942f915d089fda795c00e785c5921d1 Mon Sep 17 00:00:00 2001 From: "a.treschilov" Date: Sun, 29 Mar 2026 23:56:57 +0500 Subject: [PATCH] Add support for doctrine/collections 3.x doctrine/collections 3.0.0 requires PHP 8.4+, which GrumPHP already supports. Composer's platform resolution ensures 3.x is only installed on PHP 8.4+ while 2.x remains used on PHP 8.2/8.3. --- composer.json | 2 +- composer.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 832de0b5..12640f72 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "composer-plugin-api": "^2.0", "amphp/amp": "^3.0", "amphp/parallel": "^2.1", - "doctrine/collections": "^1.6.8 || ^2.0", + "doctrine/collections": "^1.6.8 || ^2.0 || ^3.0", "gitonomy/gitlib": "^1.6", "laravel/serializable-closure": "^2.0", "monolog/monolog": "^2.0 || ^3.0", diff --git a/composer.lock b/composer.lock index 226b5ace..8e98b33a 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": "c0e0e9e2b8bec94254bd30afe611cfb9", + "content-hash": "31684f1eec777f8ff990da5f793ba8a3", "packages": [ { "name": "amphp/amp",