From f3a73cc89058d47417b55e86ace0f09b676f2495 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Delhommeau Date: Wed, 19 Aug 2026 11:14:14 +0200 Subject: [PATCH] chore(composer): remove stale dev-main branch alias MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The alias mapped dev-main to 1.x-dev. Since v2.0.0 was tagged, main carries the 2.x line while still declaring itself as 1.x — a project requiring ^1.0 with dev stability allowed would resolve main's 2.x code as if it were 1.x. Removing the alias rather than bumping it to 2.x-dev: an alias only matters when something consumes the dev branch, and it then has to be maintained at every major, which is exactly what failed here. No internal consumer requires dev-main — all four of them pin tags (^1.0, ^1.0.3). Consumers of dev-main, if any appear later, can require dev-main explicitly; that works without an alias. Co-Authored-By: Claude Opus 5 (1M context) --- composer.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/composer.json b/composer.json index 7667dc5..e15d752 100644 --- a/composer.json +++ b/composer.json @@ -26,11 +26,6 @@ "config": { "sort-packages": true }, - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, "require": { "php": "^8.3", "doctrine/dbal": "^3.7|^4.0",