From e7f17559a347266767913c8dc041b0255e3ee6c3 Mon Sep 17 00:00:00 2001 From: Alan Poulain Date: Thu, 6 May 2021 12:18:59 +0200 Subject: [PATCH] chore: fix coverage --- .github/workflows/ci.yml | 8 ++++---- phpunit.xml.dist | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b3c4a40621..ec2d40f6780 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,7 +70,7 @@ jobs: run: composer require symfony/uid --dev --no-interaction --no-progress --ansi - name: Install PHPUnit env: - SYMFONY_PHPUNIT_VERSION: '9.4' + SYMFONY_PHPUNIT_VERSION: '9.5' run: vendor/bin/simple-phpunit --version - name: Cache PHPStan results uses: actions/cache@v2 @@ -86,7 +86,7 @@ jobs: tests/Fixtures/app/console cache:clear --ansi - name: Run PHPStan analysis env: - SYMFONY_PHPUNIT_VERSION: '9.4' + SYMFONY_PHPUNIT_VERSION: '9.5' run: ./vendor/bin/phpstan analyse --no-interaction --no-progress --no-interaction --ansi phpunit: @@ -102,7 +102,7 @@ jobs: - '7.4' - '8.0' include: - - php: '7.4' + - php: '8.0' coverage: true fail-fast: false steps: @@ -197,7 +197,7 @@ jobs: - '7.4' - '8.0' include: - - php: '7.4' + - php: '8.0' coverage: true fail-fast: false steps: diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 24793a48189..6c8892bd6b5 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -29,7 +29,9 @@ vendor src/Bridge/NelmioApiDoc src/Bridge/FosUser + .php-cs-fixer.dist.php src/Bridge/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php + src/Bridge/Symfony/Bundle/Test/Constraint/ArraySubsetLegacy.php