From 2775c1eb070251256e58472f2c978aea003ca2cd Mon Sep 17 00:00:00 2001 From: Shuvro Roy Date: Mon, 12 Feb 2024 11:24:33 +0600 Subject: [PATCH 1/5] chore: add support for laravel 11 --- .github/workflows/tests.yml | 14 +++++++++++--- composer.json | 6 +++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 990ce21..28b1d08 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,17 +9,25 @@ jobs: strategy: fail-fast: true matrix: - php: [8.0, 8.1, 8.2] - laravel: [9.*, 10.*] + php: [8.0, 8.1, 8.2, 8.3] + laravel: [9.*, 10.*, 11.*] dependency-version: [prefer-stable] include: - laravel: 9.* testbench: 7.* - laravel: 10.* testbench: 8.* + - laravel: 11.* + testbench: 9.* exclude: - - php: '8.0' + - php: 8.0 laravel: 10.* + - php: 8.0 + laravel: 11.* + - php: 8.1 + laravel: 11.* + - php: 8.3 + laravel: 9.* name: PHP ${{ matrix.php }} - LARAVEL ${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index 8d38d7f..bdc1059 100644 --- a/composer.json +++ b/composer.json @@ -18,11 +18,11 @@ ], "require": { "php": "^8.0", - "illuminate/database": "^9.0||^10.0", - "illuminate/events": "^9.0||^10.0" + "illuminate/database": "^9.0||^10.0||^11.0", + "illuminate/events": "^9.0||^10.0||^11.0" }, "require-dev": { - "orchestra/testbench": "^7.0||^8.0", + "orchestra/testbench": "^7.0||^8.0||^9.0", "phpunit/phpunit": "^9.5.10||^10.0", "tightenco/duster": "^2.7" }, From 330f1f500071365ed04e2db62e476db4c171b161 Mon Sep 17 00:00:00 2001 From: Shuvro Roy Date: Mon, 12 Feb 2024 11:27:53 +0600 Subject: [PATCH 2/5] chore: update composer.json file --- composer.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index bdc1059..b7228cc 100644 --- a/composer.json +++ b/composer.json @@ -40,5 +40,7 @@ "scripts": { "lint": "vendor/bin/duster lint", "fix": "vendor/bin/duster fix" - } + }, + "minimum-stability": "dev", + "prefer-stable": true } From d8a9db90c4cc0bf6132eaebf9a2e35c1f00305fe Mon Sep 17 00:00:00 2001 From: Tony Messias Date: Mon, 11 Mar 2024 13:04:39 -0300 Subject: [PATCH 3/5] Bump phpunit version --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b7228cc..bcbd0dc 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ }, "require-dev": { "orchestra/testbench": "^7.0||^8.0||^9.0", - "phpunit/phpunit": "^9.5.10||^10.0", + "phpunit/phpunit": "^10.5", "tightenco/duster": "^2.7" }, "autoload": { From a00ef1fce6e11d1f30d53870679ad966c99a5a05 Mon Sep 17 00:00:00 2001 From: Tony Messias Date: Mon, 11 Mar 2024 13:08:42 -0300 Subject: [PATCH 4/5] Bump supported versions (will require major version) --- .github/workflows/tests.yml | 13 ++----------- composer.json | 8 ++++---- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 28b1d08..615cd0b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,30 +4,21 @@ on: [push, pull_request] jobs: test: - runs-on: ubuntu-latest strategy: fail-fast: true matrix: - php: [8.0, 8.1, 8.2, 8.3] - laravel: [9.*, 10.*, 11.*] + php: [8.1, 8.2, 8.3] + laravel: [10.*, 11.*] dependency-version: [prefer-stable] include: - - laravel: 9.* - testbench: 7.* - laravel: 10.* testbench: 8.* - laravel: 11.* testbench: 9.* exclude: - - php: 8.0 - laravel: 10.* - - php: 8.0 - laravel: 11.* - php: 8.1 laravel: 11.* - - php: 8.3 - laravel: 9.* name: PHP ${{ matrix.php }} - LARAVEL ${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index bcbd0dc..de355b4 100644 --- a/composer.json +++ b/composer.json @@ -17,12 +17,12 @@ } ], "require": { - "php": "^8.0", - "illuminate/database": "^9.0||^10.0||^11.0", - "illuminate/events": "^9.0||^10.0||^11.0" + "php": "^8.1", + "illuminate/database": "^10.0||^11.0", + "illuminate/events": "^10.0||^11.0" }, "require-dev": { - "orchestra/testbench": "^7.0||^8.0||^9.0", + "orchestra/testbench": "^8.0||^9.0", "phpunit/phpunit": "^10.5", "tightenco/duster": "^2.7" }, From 255201f80bf91a74fdb22528ef97b49dc217bf8b Mon Sep 17 00:00:00 2001 From: Tony Messias Date: Mon, 11 Mar 2024 13:18:39 -0300 Subject: [PATCH 5/5] Adds back L9 and PHP 8.0 support --- .github/workflows/tests.yml | 16 ++++++++++++---- composer.json | 10 +++++----- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 615cd0b..18e6847 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,17 +8,25 @@ jobs: strategy: fail-fast: true matrix: - php: [8.1, 8.2, 8.3] - laravel: [10.*, 11.*] + php: [8.0, 8.1, 8.2, 8.3] + laravel: [9.*, 10.*, 11.*] dependency-version: [prefer-stable] include: + - laravel: 9.* + testbench: 7.* - laravel: 10.* testbench: 8.* - laravel: 11.* testbench: 9.* exclude: - - php: 8.1 - laravel: 11.* + - laravel: 9.* + php: 8.3 + - laravel: 10.* + php: 8.0 + - laravel: 11.* + php: 8.0 + - laravel: 11.* + php: 8.1 name: PHP ${{ matrix.php }} - LARAVEL ${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index de355b4..e2c12fd 100644 --- a/composer.json +++ b/composer.json @@ -17,13 +17,13 @@ } ], "require": { - "php": "^8.1", - "illuminate/database": "^10.0||^11.0", - "illuminate/events": "^10.0||^11.0" + "php": "^8.0", + "illuminate/database": "^9.0||^10.0||^11.0", + "illuminate/events": "^9.0||^10.0||^11.0" }, "require-dev": { - "orchestra/testbench": "^8.0||^9.0", - "phpunit/phpunit": "^10.5", + "orchestra/testbench": "^7.0||^8.0||^9.0", + "phpunit/phpunit": "^9.5.10||^10.5", "tightenco/duster": "^2.7" }, "autoload": {