From fc9a1ad0a828b21c4dcbbe3f2d7c37d1bda97d6e Mon Sep 17 00:00:00 2001 From: Randall Wilk Date: Sun, 10 Mar 2024 18:22:29 -0500 Subject: [PATCH] Add laravel 11.x support --- .github/workflows/pest.yml | 8 +++++++- composer.json | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pest.yml b/.github/workflows/pest.yml index 1cc41c9..16addfd 100644 --- a/.github/workflows/pest.yml +++ b/.github/workflows/pest.yml @@ -17,12 +17,18 @@ jobs: fail-fast: true matrix: php: [8.3, 8.2, 8.1] - laravel: [10.*] + laravel: [11.*, 10.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: 8.* carbon: ^2.63 + - laravel: 11.* + testbench: 9.* + carbon: ^2.63 + exclude: + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} diff --git a/composer.json b/composer.json index eb2cc0b..31a064a 100644 --- a/composer.json +++ b/composer.json @@ -17,15 +17,15 @@ ], "require": { "php": "^8.1|^8.2|^8.3", - "illuminate/contracts": "^10.0", + "illuminate/contracts": "^10.0|^11.0", "spatie/laravel-package-tools": "^1.14" }, "require-dev": { "awcodes/html-faker": "^0.2.1", "filament/filament": "^3.0", "laravel/pint": "^1.0", - "nunomaduro/collision": "^7.9", - "orchestra/testbench": "^8.8", + "nunomaduro/collision": "^7.9|^8.0", + "orchestra/testbench": "^8.8|^9.0", "pestphp/pest": "^2.20", "pestphp/pest-plugin-laravel": "^2.2", "pestphp/pest-plugin-livewire": "^2.1",