From 66c86a5115858db407460416f21185efad654451 Mon Sep 17 00:00:00 2001 From: Mo Khosh Date: Sun, 25 Feb 2024 21:08:30 +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 ba642c0..ca1c23e 100644 --- a/composer.json +++ b/composer.json @@ -20,14 +20,14 @@ "license": "MIT", "require": { "php": "^8.1", - "illuminate/database": "^9.0|^10.0", - "illuminate/support": "^9.0|^10.0", - "nesbot/carbon": "^2.63", + "illuminate/database": "^9.0|^10.0|^11.0", + "illuminate/support": "^9.0|^10.0|^11.0", + "nesbot/carbon": "^2.63|^3.0", "spatie/laravel-package-tools": "^1.9" }, "require-dev": { "phpunit/phpunit" : "^9.5", - "orchestra/testbench": "^7.0|^8.0" + "orchestra/testbench": "^7.0|^8.0|^9.0" }, "autoload": { "psr-4": { From b38944be077a21f83edf725038694b39a2309adf Mon Sep 17 00:00:00 2001 From: Mo Khosh Date: Sun, 25 Feb 2024 21:10:16 +0330 Subject: [PATCH 2/3] exclude php 8.1 from laravel 11 tests --- .github/workflows/run-tests.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 92fa775..bf3f55b 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,13 +10,18 @@ jobs: matrix: os: [ubuntu-latest] php: [8.3, 8.2, 8.1] - laravel: [10.*, 9.*] + laravel: [11.*, 10.*, 9.*] dependency-version: [prefer-lowest, prefer-stable] include: + - laravel: 11.* + testbench: 9.* - laravel: 10.* testbench: 8.* - laravel: 9.* testbench: 7.* + exclude: + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} From 0752c601e6723d9ac932d7d65cfd6fd4cd810952 Mon Sep 17 00:00:00 2001 From: Mo Khosh Date: Sun, 25 Feb 2024 21:13:03 +0330 Subject: [PATCH 3/3] allow phpunit 10 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ca1c23e..abb5788 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "spatie/laravel-package-tools": "^1.9" }, "require-dev": { - "phpunit/phpunit" : "^9.5", + "phpunit/phpunit" : "^9.5|^10.0", "orchestra/testbench": "^7.0|^8.0|^9.0" }, "autoload": {