From 3505b7f18f5fc7e082521622522659116ba4f76f Mon Sep 17 00:00:00 2001 From: Killian Blais Date: Wed, 6 Jan 2021 11:42:12 +0100 Subject: [PATCH 1/2] Allow installation with PHP 8 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 27fc4e8..5163b8d 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ } ], "require": { - "php": "^7.4", + "php": "^7.4|^8.0", "livewire/livewire": "^2.2" }, "require-dev": { From 81e3b7e5622e24d49153c3f01418543d196a5024 Mon Sep 17 00:00:00 2001 From: Killian Blais Date: Wed, 6 Jan 2021 11:42:26 +0100 Subject: [PATCH 2/2] Also run PHPUnit on PHP 8 --- .github/workflows/run-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 060be55..2bca618 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,7 +9,7 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [7.4] + php: [7.4, 8.0] laravel: [8.*] dependency-version: [prefer-lowest, prefer-stable] include: @@ -32,7 +32,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick + extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo coverage: none - name: Install dependencies