From 67b843a6ae0e0f0f2619188ede0fcea902734352 Mon Sep 17 00:00:00 2001 From: Petr Soukup Date: Tue, 30 Nov 2021 13:39:04 +0100 Subject: [PATCH] Add PHP 8.0 support --- .github/workflows/ci.yml | 6 ++++-- composer.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 726f4b5..65b617f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,9 @@ on: [push] jobs: tests: runs-on: ubuntu-latest - + strategy: + matrix: + php-versions: ['7.4', '8.0'] steps: - name: Checkout uses: actions/checkout@v1 @@ -13,7 +15,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v1 with: - php-version: '7.4' + php-version: ${{ matrix.php-versions }} extensions: mbstring, intl - name: Install Dependencies diff --git a/composer.json b/composer.json index a50aaf9..316b2ed 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ } ], "require": { - "php": "^7.4", + "php": "^7.4|^8.0", "ext-libxml": "*", "ext-xmlreader": "*" },