From bb426d962de7b9f12f3431ff30ad6322bd7a84b4 Mon Sep 17 00:00:00 2001 From: Ryan Chandler Date: Sun, 19 Feb 2023 12:19:35 +0000 Subject: [PATCH] chore: add support for Laravel 10 (#8) --- .github/workflows/run-tests.yml | 13 ++++++++----- composer.json | 8 ++++---- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 208d285..1d31d48 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,14 +13,17 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: ['8.0', 8.1] - laravel: [8.*, 9.*] + php: ['8.0', 8.1, 8.2] + laravel: [9.*, 10.*] stability: [prefer-lowest, prefer-stable] include: - - laravel: 8.* - testbench: ^6.6 - laravel: 9.* - testbench: ^7.0 + testbench: ^7.22 + - laravel: 10.* + testbench: ^8.0 + exclude: + - laravel: 10.* + php: '8.0' name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 792b57b..e094be1 100644 --- a/composer.json +++ b/composer.json @@ -18,13 +18,13 @@ "require": { "php": "^8.0", "spatie/laravel-package-tools": "^1.4.3", - "illuminate/contracts": "^8.83|^9.0" + "illuminate/contracts": "^9.0|^10.0" }, "require-dev": { "brianium/paratest": "^6.2", - "nunomaduro/collision": "^5.3|^6.0", - "orchestra/testbench": "^6.15|^7.0", - "phpunit/phpunit": "^9.3", + "nunomaduro/collision": "^6.0|^7.0", + "orchestra/testbench": "^7.0|^8.0", + "phpunit/phpunit": "^9.3|^10.0", "spatie/laravel-ray": "^1.9", "vimeo/psalm": "^4.4" },