From 17939be63abbb6002d5fff9bd6e859f9313419ad Mon Sep 17 00:00:00 2001 From: Benjamin Kott Date: Fri, 3 Dec 2021 10:54:09 +0100 Subject: [PATCH] [TASK] Allow PHP 8.0 (#235) --- .github/workflows/ci.yml | 13 ++++++++++--- composer.json | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f637550..3f69070f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,12 @@ name: CI -on: [ push, pull_request ] +on: + push: + branches-ignore: + - 'task/**' + - 'bugfix/**' + - 'feature/**' + pull_request: jobs: build: @@ -11,7 +17,7 @@ jobs: fail-fast: false matrix: typo3: ['^11.5'] - php: ['7.4'] + php: ['7.4', '8.0'] mysql: ['5.7'] steps: @@ -64,12 +70,13 @@ jobs: typo3DatabaseUsername: root - name: Upload coverage results to Coveralls + if: matrix.php != '8.0' env: COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} COVERALLS_PARALLEL: true COVERALLS_FLAG_NAME: php-${{ matrix.php }} run: | - composer global require twinh/php-coveralls --no-progress --no-suggest --no-interaction + composer global require php-coveralls/php-coveralls --no-progress --no-suggest --no-interaction /home/runner/.composer/vendor/bin/php-coveralls --coverage_clover=var/log/junit/coverage-unit.xml --coverage_clover=var/log/junit/coverage-functional.xml -vvv --json_path=var/log/coveralls-upload.json coveralls-finish: diff --git a/composer.json b/composer.json index 192b7adb..9f69f25c 100644 --- a/composer.json +++ b/composer.json @@ -80,7 +80,7 @@ "typo3/cms-fluid-styled-content": "Content rendering definition based on fluid" }, "require": { - "php": "^7.4", + "php": ">=7.4.0", "ext-json": "*", "ext-pdo": "*", "psr/http-message": "^1.0",