From cb7f8ae339a2357a32c2dd2df2c6a25ded0eb1da Mon Sep 17 00:00:00 2001 From: erikn69 Date: Wed, 28 Feb 2024 15:55:07 -0500 Subject: [PATCH] Laravel 11 Support --- .github/workflows/run-tests.yml | 8 +++++++- composer.json | 18 +++++++++--------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 97dcb06..59c3d18 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,9 +9,11 @@ jobs: fail-fast: false matrix: php: [8.2, 8.1, 8.0] - laravel: [10.*, 9.*, 8.*] + laravel: [11.*, 10.*, 9.*, 8.*] dependency-version: [prefer-lowest, prefer-stable] include: + - laravel: 11.* + testbench: 9.* - laravel: 10.* testbench: 8.* - laravel: 9.* @@ -19,6 +21,10 @@ jobs: - laravel: 8.* testbench: ^6.23 exclude: + - laravel: 11.* + php: 8.1 + - laravel: 11.* + php: 8.0 - laravel: 10.* php: 8.0 diff --git a/composer.json b/composer.json index e60d9e7..d348a58 100644 --- a/composer.json +++ b/composer.json @@ -17,18 +17,18 @@ ], "require": { "php": "^8.0", - "illuminate/database": "^7.0|^8.0|^9.0|^10.0", - "illuminate/support": "^7.0|^8.0|^9.0|^10.0", - "spatie/laravel-package-tools": "^1.4.3", - "illuminate/contracts": "^7.0|^8.0|^9.0|^10.0" + "illuminate/contracts": "^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/database": "^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^7.0|^8.0|^9.0|^10.0|^11.0", + "spatie/laravel-package-tools": "^1.4.3" }, "require-dev": { - "brianium/paratest": "^6.2", + "brianium/paratest": "^6.2|^7.4", "mockery/mockery": "^1.4", - "nunomaduro/collision": "^5.3|^6.0", - "orchestra/testbench": "^6.15|^7.0|^8.0", - "pestphp/pest-plugin-laravel": "^1.3", - "phpunit/phpunit": "^9.5.4" + "nunomaduro/collision": "^5.3|^6.0|^8.0", + "orchestra/testbench": "^6.15|^7.0|^8.0|^9.0", + "pestphp/pest-plugin-laravel": "^1.3|^2.1", + "phpunit/phpunit": "^9.6|^10.5" }, "autoload": { "psr-4": {