From c40c8dbc24d182f86533517511ef845ea668f0c0 Mon Sep 17 00:00:00 2001 From: jp Date: Sat, 6 Jun 2026 01:23:08 +0100 Subject: [PATCH] [4.x] Fix Checks (#1709) * fix(composer): set root version for feature-branch CI pest-plugin-browser ^4.3.1 requires pestphp/pest ^4.4.5 on the root package. Without an explicit version, Composer infers dev- on PR branches, which fails composer update before tests run. * set root version of composer * fix indent --- .github/workflows/static.yml | 2 ++ .github/workflows/tests.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 92c4d1a5..29de4027 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -53,6 +53,8 @@ jobs: static-php-8.3-composer- - name: Install Dependencies + env: + COMPOSER_ROOT_VERSION: 4.x-dev run: composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi - name: Profanity Check diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 711d3c6e..a05d2910 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -66,6 +66,8 @@ jobs: - name: Install PHP dependencies shell: bash + env: + COMPOSER_ROOT_VERSION: 4.x-dev run: composer update --${{ matrix.dependency_version }} --no-interaction --no-progress --ansi --with="symfony/console:^${{ matrix.symfony }}" - name: Unit Tests