From 4f1728db731b3e7457cc21c4f1241e35b37bc6cc Mon Sep 17 00:00:00 2001 From: Dan Mason Date: Tue, 12 Mar 2024 14:25:01 +0000 Subject: [PATCH] Support Laravel 11 (#9) * Support Laravel 11 * wip * wip * wip * wip --- .github/workflows/run-tests.yml | 7 ++++++- composer.json | 11 +++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 36025f1..99e93ec 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,9 +14,14 @@ jobs: matrix: os: [ubuntu-latest] php: [8.3, 8.2, 8.1] - laravel: [10.*] + laravel: [10.*, 11.*] stability: [prefer-lowest, prefer-stable] + exclude: + - laravel: 11.* + php: 8.1 include: + - laravel: 11.* + testbench: 9.* - laravel: 10.* testbench: 8.* diff --git a/composer.json b/composer.json index 9d22fe5..f7146f9 100644 --- a/composer.json +++ b/composer.json @@ -17,20 +17,19 @@ ], "require": { "php": "^8.1", - "illuminate/contracts": "^10.0", + "illuminate/contracts": "^10.0|^11.0", "laravel/nova": "^4.26" }, "require-dev": { "laravel/pint": "^1.0", - "nunomaduro/collision": "^6.0", + "nunomaduro/collision": "^6.0|^7.0|^8.0", "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^7.0|^8.0", - "pestphp/pest": "^1.21", - "pestphp/pest-plugin-laravel": "^1.1", + "orchestra/testbench": "^7.0|^8.0|^9.0", + "pestphp/pest": "^2.0", + "pestphp/pest-plugin-laravel": "^2.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^9.5", "spatie/laravel-ray": "^1.26" }, "repositories": [