From d430c57df4f1831ebe391afe3ed94a2fded7770a Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Wed, 28 Oct 2020 12:18:25 +0100 Subject: [PATCH] Fix: PHP 8 build. --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a200f8d0f..b98abf187 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,6 +79,7 @@ jobs: env: SYMFONY_SKELETON_STABILITY: ${{ matrix.symfony-skeleton-stability }} + PHP_CS_FIXER_IGNORE_ENV: ${{ matrix.php-cs-fixer-ignore }} strategy: matrix: @@ -87,6 +88,8 @@ jobs: - '7.2.5' - '7.3' - '7.4' + php-cs-fixer-ignore: + - 'false' symfony-skeleton-stability: - 'stable' allow-failures: [false] @@ -94,9 +97,11 @@ jobs: - php-version: '7.4' symfony-skeleton-stability: 'dev' allow-failures: true + php-cs-fixer-ignore: false - php-version: '8.0' symfony-skeleton-stability: 'dev' allow-failures: true + php-cs-fixer-ignore: true steps: - name: "Checkout code" @@ -143,7 +148,7 @@ jobs: run: composer update - if: matrix.php-version == '8.0' - run: composer update --ignore-platform-reqs + run: composer update --ignore-platform-req=php - name: "Install PHPUnit" run: vendor/bin/simple-phpunit install