From e0be907a55134bc3d14bf609ab833281368930ed Mon Sep 17 00:00:00 2001 From: Jivesh Gahlawat <4440677+gahlawat@users.noreply.github.com> Date: Sat, 28 Nov 2020 12:38:23 +0530 Subject: [PATCH 1/4] PHP 8 support --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index f9d84ca..6e5548a 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "Cascading deletes for Eloquent models that implement soft deletes", "type": "utility", "require": { - "php": "^7.3", + "php": "^7.3|^8.0", "illuminate/database": "^8.0", "illuminate/events": "^8.0" }, From bd56503bb24d8eeffaea4709cfff8dc9b84e1a67 Mon Sep 17 00:00:00 2001 From: Michael Dyrynda Date: Tue, 1 Dec 2020 13:09:22 +1030 Subject: [PATCH 2/4] add PHP 8 to GitHub workflow so we can test --- .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 3129aa6..74cb13d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -12,8 +12,8 @@ jobs: strategy: fail-fast: false matrix: - php: [7.4, 7.3] - laravel: [^8.0] + php: [8.0, 7.4, 7.3] + laravel: [^8.12] dependency-version: [prefer-lowest, prefer-stable] os: [ubuntu-latest] From c0ab519c3690b770a606a72eac9048abf342df62 Mon Sep 17 00:00:00 2001 From: Michael Dyrynda Date: Tue, 1 Dec 2020 13:10:45 +1030 Subject: [PATCH 3/4] require laravel/framework=^8.12 as the minimum for PHP 8 support --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 6e5548a..009ed5c 100644 --- a/composer.json +++ b/composer.json @@ -4,8 +4,8 @@ "type": "utility", "require": { "php": "^7.3|^8.0", - "illuminate/database": "^8.0", - "illuminate/events": "^8.0" + "illuminate/database": "^8.12", + "illuminate/events": "^8.12" }, "require-dev": { "phpunit/phpunit": "^9.3" From bf2fbcb979e26799a7920104ed4971da826105a4 Mon Sep 17 00:00:00 2001 From: Michael Dyrynda Date: Tue, 1 Dec 2020 13:12:29 +1030 Subject: [PATCH 4/4] testdox for phpunit output --- phpunit.xml.dist | 1 + 1 file changed, 1 insertion(+) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index ecfb606..fa96352 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -9,6 +9,7 @@ convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" + testdox="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" >