From f7acd1d57bb2552312bdbaed280f480f8367a662 Mon Sep 17 00:00:00 2001 From: Alexandre D'Eschambeault Date: Fri, 17 Feb 2023 12:05:25 -0500 Subject: [PATCH] chore(deps): add Laravel 10 support --- .github/workflows/tests.yml | 7 ++++++- composer.json | 14 +++++++------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 972d286..c5eda18 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,11 +10,16 @@ jobs: fail-fast: true matrix: php: [8.0, 8.1, 8.2] - laravel: [9.*] + laravel: [9.*, 10.*] dependency-version: [prefer-lowest, prefer-stable] + exclude: + - php: 8.0 + laravel: 10.* include: - laravel: 9.* testbench: 7.* + - laravel: 10.* + testbench: 8.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index abd9039..90cab31 100644 --- a/composer.json +++ b/composer.json @@ -20,16 +20,16 @@ ], "require": { "php": "^8.0", - "illuminate/console": "^9.0", - "illuminate/contracts": "^9.0", - "illuminate/http": "^9.0", - "illuminate/support": "^9.0", - "illuminate/routing": "^9.0", - "illuminate/translation": "^9.0" + "illuminate/console": "^9.0|^10.0", + "illuminate/contracts": "^9.0|^10.0", + "illuminate/http": "^9.0|^10.0", + "illuminate/support": "^9.0|^10.0", + "illuminate/routing": "^9.0|^10.0", + "illuminate/translation": "^9.0|^10.0" }, "require-dev": { "mockery/mockery": "^1.4", - "orchestra/testbench": "^7.0", + "orchestra/testbench": "^7.0|^8.0", "phpunit/phpunit": "^9.3.3", "squizlabs/php_codesniffer": "^3.6" },