From 72893ab4904ff3e04ff81f887e4547bbd2f6574b Mon Sep 17 00:00:00 2001 From: Jefemy Date: Mon, 7 Dec 2020 22:36:44 -0500 Subject: [PATCH 1/3] Allow PHP8 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 119a55a..96b1dcb 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "require": { - "php": "^7.1.3", + "php": "^7.1.3|^8.0", "guzzlehttp/guzzle": "^6.0|^7.0", "illuminate/notifications": "~5.8.0|^6.0|^7.0|^8.0", "laravel/slack-notification-channel": "^2.0" From 5920d669cc955d8d7a436f5771ba774ce51555ad Mon Sep 17 00:00:00 2001 From: Jefemy Date: Mon, 7 Dec 2020 22:40:14 -0500 Subject: [PATCH 2/3] Run tests from PHP8 --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4686085..e311abd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: true matrix: - php: [7.1, 7.2, 7.3, 7.4] + php: [7.1, 7.2, 7.3, 7.4, 8.0] laravel: [5.8.*, ^6.0, ^7.0, ^8.0] exclude: - php: 7.1 @@ -44,4 +44,4 @@ jobs: composer require "illuminate/contracts=${{ matrix.laravel }}" --no-update composer update --prefer-dist --no-interaction --no-progress - name: Execute tests - run: vendor/bin/phpunit --verbose \ No newline at end of file + run: vendor/bin/phpunit --verbose From c3a79b545815047fe91c6050a6b4630949110ace Mon Sep 17 00:00:00 2001 From: Jefemy Date: Mon, 7 Dec 2020 22:44:33 -0500 Subject: [PATCH 3/3] Exclude Laravel 5.8 from running on PHP8 --- .github/workflows/tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e311abd..fe62321 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,6 +24,8 @@ jobs: laravel: ^8.0 - php: 7.2 laravel: ^8.0 + - php: 8.0 + laravel: 5.8.* name: P${{ matrix.php }} - L${{ matrix.laravel }}