From 320864e801046267d8369e9f44adf5abac824732 Mon Sep 17 00:00:00 2001 From: Mo Khosh Date: Fri, 23 Feb 2024 16:02:17 +0330 Subject: [PATCH 1/3] add laravel 11 support --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index da9d715..a56acb8 100644 --- a/composer.json +++ b/composer.json @@ -28,14 +28,14 @@ ], "require": { "php": "^8.0", - "illuminate/database": "^9.0|^10.0", - "illuminate/support": "^9.0|^10.0", + "illuminate/database": "^9.0|^10.0|^11.0", + "illuminate/support": "^9.0|^10.0|^11.0", "spatie/laravel-package-tools": "^1.11" }, "require-dev": { "mockery/mockery": "^1.4", - "orchestra/testbench": "^7.0|^8.0", - "pestphp/pest": "^1.20" + "orchestra/testbench": "^7.0|^8.0|^9.0", + "pestphp/pest": "^1.20|^2.0" }, "autoload": { "psr-4": { From 18381dfd84e3b3e7ccec1ae30ef5e011e16ae1ae Mon Sep 17 00:00:00 2001 From: Mo Khosh Date: Fri, 23 Feb 2024 16:03:56 +0330 Subject: [PATCH 2/3] update ci for laravel 11 --- .github/workflows/run-tests.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 1fe4ab9..d757fa9 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,10 +9,13 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.2, 8.1, 8.0] - laravel: [10.*, 9.*] + php: [8.3, 8.2, 8.1, 8.0] + laravel: [11.*, 10.*, 9.*] stability: [prefer-lowest, prefer-stable] include: + - laravel: 11.* + testbench: 9.* + carbon: ^3.0 - laravel: 10.* testbench: 8.* carbon: ^2.63 @@ -20,6 +23,8 @@ jobs: testbench: 7.* carbon: ^2.63 exclude: + - laravel: 11.* + php: [8.1, 8.0] - laravel: 10.* php: 8.0 From c1426f56104d29573dcb97d91ea483228a9f8835 Mon Sep 17 00:00:00 2001 From: Freek Van der Herten Date: Fri, 23 Feb 2024 14:51:32 +0100 Subject: [PATCH 3/3] Update run-tests.yml --- .github/workflows/run-tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index d757fa9..6b98667 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -24,7 +24,9 @@ jobs: carbon: ^2.63 exclude: - laravel: 11.* - php: [8.1, 8.0] + php: 8.1 + - laravel: 11.* + php: 8.0 - laravel: 10.* php: 8.0