From c79c7e7a093be2d818a71f3252c5d77ce7fa7684 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 5 Jul 2024 23:26:55 +0200 Subject: [PATCH] fix the set of installed packages for TwigExtraBundle on PHP 8.0 --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f9588cb3..bf2cafdb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,6 +114,11 @@ jobs: - name: "PHPUnit version" run: vendor/bin/simple-phpunit --version + - name: "Prevent installing symfony/translation-contract 3.0" + if: "matrix.extension == 'twig-extra-bundle'" + working-directory: extra/${{ matrix.extension }} + run: "composer require --no-update 'symfony/translation-contracts:^1.1|^2.0'" + - name: "Composer install ${{ matrix.extension }}" working-directory: extra/${{ matrix.extension }} run: composer install