From 01897487d4ed51ad99798ece7b7fd8505e320ec5 Mon Sep 17 00:00:00 2001 From: Liam Hammett Date: Sun, 13 Sep 2020 01:49:06 +0100 Subject: [PATCH 1/3] Add Laravel 8 support --- .github/FUNDING.yml | 1 + .github/workflows/main.yml | 3 ++- composer.json | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..9d24635 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: imliam diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fbc4e34..8b13d57 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,11 +8,12 @@ jobs: max-parallel: 15 fail-fast: false matrix: - php-versions: ['7.2', '7.3', '7.4'] + php-versions: ['7.3', '7.4'] composer-flags: ['--prefer-lowest', '--prefer-stable'] env: - LARAVEL_VERSION='^6.0' TESTBENCH_VERSION='^4.0' - LARAVEL_VERSION='^7.0' TESTBENCH_VERSION='^5.0' + - LARAVEL_VERSION='^8.0' TESTBENCH_VERSION='^6.0' name: Test on PHP ${{ matrix.php-versions }}, Laravel ${{ matrix.laravel-versions }} and ${{ matrix.composer-flags }} steps: - name: Checkout diff --git a/composer.json b/composer.json index 69074df..4d7d6f9 100755 --- a/composer.json +++ b/composer.json @@ -16,13 +16,13 @@ "role": "Developer" }], "require": { - "php": "^7.2", - "illuminate/support": "^6.0|^7.0" + "php": "^7.3", + "illuminate/support": "^7.0|^8.0" }, "require-dev": { "phpunit/phpunit": "^7.0|^8.0|^9.0", "larapack/dd": "^1.0", - "orchestra/testbench": "^4.0|^5.0", + "orchestra/testbench": "^5.0|^6.0", "mockery/mockery": "^1.0" }, "autoload": { From cf300c4aa5600fba1574ed91c3bc06e871eb78b8 Mon Sep 17 00:00:00 2001 From: Liam Hammett Date: Sun, 13 Sep 2020 01:50:23 +0100 Subject: [PATCH 2/3] Remove self accessor rule --- .styleci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.styleci.yml b/.styleci.yml index 3f78bdd..f4d3cbc 100755 --- a/.styleci.yml +++ b/.styleci.yml @@ -2,4 +2,3 @@ preset: laravel disabled: - single_class_element_per_statement - - self_accessor From bd6a2bdce4d24a64e43e9f508a6081906410d738 Mon Sep 17 00:00:00 2001 From: Liam Hammett Date: Sun, 13 Sep 2020 01:51:35 +0100 Subject: [PATCH 3/3] Remove Laravel 6 support --- .github/workflows/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8b13d57..b56d727 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,6 @@ jobs: php-versions: ['7.3', '7.4'] composer-flags: ['--prefer-lowest', '--prefer-stable'] env: - - LARAVEL_VERSION='^6.0' TESTBENCH_VERSION='^4.0' - LARAVEL_VERSION='^7.0' TESTBENCH_VERSION='^5.0' - LARAVEL_VERSION='^8.0' TESTBENCH_VERSION='^6.0' name: Test on PHP ${{ matrix.php-versions }}, Laravel ${{ matrix.laravel-versions }} and ${{ matrix.composer-flags }}