From 3bbe5faeda8c90916136fd98c8a37d1e78d2f1a6 Mon Sep 17 00:00:00 2001 From: Andrew Minion Date: Mon, 21 Oct 2024 14:46:24 -0500 Subject: [PATCH 1/2] add Laravel 11 support --- .github/workflows/run-tests.yml | 8 ++++++-- composer.json | 14 +++++++------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 6d96546..43a45a1 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,17 +13,21 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.0,8.1,8.2] - laravel: [9.*,10.*] + php: [8.0, 8.1, 8.2, 8.3] + laravel: [9.*, 10.*, 11.*] stability: [prefer-stable] include: - laravel: 9.* testbench: ^7.0 - laravel: 10.* testbench: ^8.0 + - laravel: 11.* + testbench: ^9.0 exclude: - laravel: 10.* php: 8.0 + - laravel: 11.* + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 2af7134..9802af1 100644 --- a/composer.json +++ b/composer.json @@ -24,16 +24,16 @@ ], "require": { "php": "^8.0", - "illuminate/contracts": "^9.0|^10.0", - "illuminate/database": "^9.0|^10.0", - "illuminate/support": "^9.0|^10.0", - "spatie/laravel-package-tools": "^1.9.2" + "illuminate/contracts": "^9.0|^10.0|^11.0", + "illuminate/database": "^9.0|^10.0|^11.0", + "illuminate/support": "^9.0|^10.0|^11.0", + "spatie/laravel-package-tools": "^1.16" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.2", - "nunomaduro/collision": "^5.3|^6.0", - "orchestra/testbench": "^7.0|^8.0", - "vimeo/psalm": "^4.8" + "nunomaduro/collision": "^5.3|^6.0|^7.0|^8.0", + "orchestra/testbench": "^7.0|^8.0|^9.0", + "vimeo/psalm": "^4.8|^5.0" }, "autoload": { "psr-4": { From 00d219b2e887de207fa4f132576eaa9bd7d17f75 Mon Sep 17 00:00:00 2001 From: Andrew Minion Date: Mon, 21 Oct 2024 15:20:11 -0500 Subject: [PATCH 2/2] exclude php8.1 for Laravel 11 --- .github/workflows/run-tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 43a45a1..080863a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -28,6 +28,8 @@ jobs: php: 8.0 - laravel: 11.* php: 8.0 + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}