From 4fd97c14f9cd412ce02630577cdab03c5ee52e24 Mon Sep 17 00:00:00 2001 From: xormania <127287135+xormania@users.noreply.github.com> Date: Tue, 1 Sep 2026 13:51:53 -0400 Subject: [PATCH] =?UTF-8?q?repo:=20proper=20require=20=E2=80=94=20flex-req?= =?UTF-8?q?uire=20retired?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The maintainer's call: flex-require causes issues and is not proper. The seed now declares its composition as plain require entries pinned to the symfony line (8.1.*), which the publish schema accepts, so composer validate --strict is restored in CI — the earlier exemption fixed the oracle when the manifest was the defect. Proven before push: create-project from this tree resolves and boots v8.1.6. Source: owner 2026-09-01 ("flex causes issues - its not proper") Source: original Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01XehTac5TJNmPAskwrPp7rJ --- .github/workflows/ci.yml | 4 +--- composer.json | 16 +++++++--------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5edffc..2912a72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,9 +15,7 @@ jobs: - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2 with: php-version: '8.4' - # Not --strict: the seed legitimately carries flex-require, which the - # strict publish schema rejects; the real oracle is create-project below. - - run: composer validate --no-check-publish + - run: composer validate --strict - name: create-project end to end run: | cd "$RUNNER_TEMP" diff --git a/composer.json b/composer.json index 399e7ba..6ba287a 100644 --- a/composer.json +++ b/composer.json @@ -18,17 +18,15 @@ "minimum-stability": "stable", "prefer-stable": true, "require": { - "php": ">=8.4", "ext-ctype": "*", "ext-iconv": "*", - "symfony/flex": "^2" - }, - "flex-require": { - "symfony/console": "*", - "symfony/dotenv": "*", - "symfony/framework-bundle": "*", - "symfony/runtime": "*", - "symfony/yaml": "*" + "php": ">=8.4", + "symfony/console": "8.1.*", + "symfony/dotenv": "8.1.*", + "symfony/flex": "^2", + "symfony/framework-bundle": "8.1.*", + "symfony/runtime": "8.1.*", + "symfony/yaml": "8.1.*" }, "require-dev": {}, "config": {