From 8b6be9c0b3c752bc5c977d4739bbc5a211559afd Mon Sep 17 00:00:00 2001 From: Zegui81 Date: Thu, 12 Nov 2026 17:59:42 +0100 Subject: [PATCH] fix(doctrine): drop the unused doctrine/common requirement doctrine/common is abandoned on Packagist, and no class from it (ClassLoader, CommonException, Comparable, Proxy\*, Util\*) is used by api-platform/doctrine-common or by the test suite anymore, likely since the ClassUtils removal (#6331). Requiring it makes every downstream project report an abandoned package on composer install and composer audit. Closes #8835 Co-Authored-By: Claude Opus 5.5 --- composer.json | 1 - src/Doctrine/Common/composer.json | 1 - 2 files changed, 2 deletions(-) diff --git a/composer.json b/composer.json index dd08e4ca7f6..14b4dc51976 100644 --- a/composer.json +++ b/composer.json @@ -127,7 +127,6 @@ "willdurand/negotiation": "^3.1" }, "require-dev": { - "doctrine/common": "^3.2.2", "doctrine/dbal": "^4.0", "doctrine/doctrine-bundle": "^2.11.1 || ^3.1", "doctrine/orm": "^2.17 || ^3.3", diff --git a/src/Doctrine/Common/composer.json b/src/Doctrine/Common/composer.json index 1417c82cd94..08a67800120 100644 --- a/src/Doctrine/Common/composer.json +++ b/src/Doctrine/Common/composer.json @@ -27,7 +27,6 @@ "api-platform/metadata": "^5.0", "api-platform/state": "^5.0", "doctrine/collections": "^2.1 || ^3.0", - "doctrine/common": "^3.2.2", "doctrine/persistence": "^3.2 || ^4.0", "symfony/property-access": "^7.4 || ^8.0" },