From 3a32e7fe5deee13c7e22f77d768ca1e26b2d1d34 Mon Sep 17 00:00:00 2001 From: Ion Bazan Date: Wed, 9 Dec 2020 20:20:12 +0800 Subject: [PATCH] fix CI --- .github/workflows/quality-assurance.yml | 6 +----- phpstan.tests.neon | 6 ------ 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/quality-assurance.yml b/.github/workflows/quality-assurance.yml index 04e51e5f..346840c4 100644 --- a/.github/workflows/quality-assurance.yml +++ b/.github/workflows/quality-assurance.yml @@ -10,13 +10,9 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: [ '7.2', '7.3', '7.4' ] + php: [ '7.2', '7.3', '7.4', '8.0' ] composer-flags: [ '' ] phpunit-flags: [ '--coverage-text' ] - include: - - php: '8.0' - composer-flags: '--ignore-platform-req=php' - phpunit-flags: '--no-coverage' steps: - uses: actions/checkout@v2 - uses: shivammathur/setup-php@v2 diff --git a/phpstan.tests.neon b/phpstan.tests.neon index 38e0e607..9b1fac4d 100644 --- a/phpstan.tests.neon +++ b/phpstan.tests.neon @@ -9,11 +9,5 @@ parameters: path: tests/DetectDelimiterTest.php - message: '#Parameter \#1 \$document of static method League\\Csv\\Polyfill\\EmptyEscapeParser::parse\(\) expects League\\Csv\\Stream\|SplFileObject, stdClass given.#' path: tests/Polyfill/EmptyEscapeParserTest.php - - message: '#Call to function iterator_to_array\(\) on a separate line has no effect.#' - path: tests/ResultSetTest.php - - message: '#Call to function iterator_to_array\(\) on a separate line has no effect.#' - path: tests/ReaderTest.php - - message: '#Call to function iterator_to_array\(\) on a separate line has no effect.#' - path: tests/CsvTest.php reportUnmatchedIgnoredErrors: true checkMissingIterableValueType: false