From ad57dc19480488af4900d9ba969bfef6d7db79c0 Mon Sep 17 00:00:00 2001 From: Alexandre D'Eschambeault Date: Tue, 26 Mar 2024 09:48:16 -0400 Subject: [PATCH] build(deps): add Laravel 11 support --- .github/workflows/tests.yml | 4 +++- composer.json | 10 +++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3cec8dc..d5a26e1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,11 +10,13 @@ jobs: fail-fast: true matrix: php: [8.1, 8.2] - laravel: [10.*] + laravel: [10.*, 11.*] dependency-version: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: 8.* + - laravel: 11.* + testbench: 9.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index 619ffab..3b8126c 100644 --- a/composer.json +++ b/composer.json @@ -16,16 +16,16 @@ }, "require": { "php": "^8.1", - "illuminate/contracts": "^10.0", - "illuminate/http": "^10.0", - "illuminate/support": "^10.0", - "illuminate/view": "^10.0" + "illuminate/contracts": "^10.0|^11.0", + "illuminate/http": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0", + "illuminate/view": "^10.0|^11.0" }, "require-dev": { "exolnet/phpcs-config": "^2.0", "laravel/pint": "^1.1", "mockery/mockery": "^1.4", - "orchestra/testbench": "^8.0", + "orchestra/testbench": "^8.0|^9.0", "phpunit/phpunit": "^9.3.3", "squizlabs/php_codesniffer": "^3.6" },