From 5818b4aa51f99cc0ac111b947a27090be55aafc9 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 15 Oct 2021 12:55:41 +0200 Subject: [PATCH] Attempt fixing php8.1 build --- .github/workflows/continuous-integration.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 2b6e4bc12..d0253293c 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -103,6 +103,12 @@ jobs: # using ~ here to avoid issues with windows CLI removing the ^ run: 'composer require --no-update --dev "symfony/phpunit-bridge:~5.2"' + # temporary fix until phpunit-bridge has a release supporting 8.1 + - name: "Require latest dev PHPUnitBridge for PHP 8.1" + if: "matrix.experimental" + # using ~ here to avoid issues with windows CLI removing the ^ + run: 'composer require --no-update --dev "symfony/phpunit-bridge:~5.4@dev"' + - name: "Update dev requirements to latest available for the current PHP even on locked builds as they are not bundled dependencies" run: "composer update ${{ env.COMPOSER_FLAGS }} symfony/phpunit-bridge phpspec/prophecy phpdocumentor/* sebastian/* doctrine/instantiator"