From b5388b8742142bd7fc6adb1f8e8b6e28276250ee Mon Sep 17 00:00:00 2001 From: erikn69 Date: Thu, 12 Jan 2023 10:18:50 -0500 Subject: [PATCH] Laravel 10.x Support --- .github/workflows/run-tests.yml | 7 ++++++- composer.json | 10 +++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 87afa4a..97dcb06 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,13 +9,18 @@ jobs: fail-fast: false matrix: php: [8.2, 8.1, 8.0] - laravel: [9.*, 8.*] + laravel: [10.*, 9.*, 8.*] dependency-version: [prefer-lowest, prefer-stable] include: + - laravel: 10.* + testbench: 8.* - laravel: 9.* testbench: 7.* - laravel: 8.* testbench: ^6.23 + exclude: + - laravel: 10.* + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index e8c414d..e60d9e7 100644 --- a/composer.json +++ b/composer.json @@ -17,16 +17,16 @@ ], "require": { "php": "^8.0", - "illuminate/database": "^7.0|^8.0|^9.0", - "illuminate/support": "^7.0|^8.0|^9.0", + "illuminate/database": "^7.0|^8.0|^9.0|^10.0", + "illuminate/support": "^7.0|^8.0|^9.0|^10.0", "spatie/laravel-package-tools": "^1.4.3", - "illuminate/contracts": "^7.0|^8.0|^9.0" + "illuminate/contracts": "^7.0|^8.0|^9.0|^10.0" }, "require-dev": { "brianium/paratest": "^6.2", "mockery/mockery": "^1.4", "nunomaduro/collision": "^5.3|^6.0", - "orchestra/testbench": "^6.15|^7.0", + "orchestra/testbench": "^6.15|^7.0|^8.0", "pestphp/pest-plugin-laravel": "^1.3", "phpunit/phpunit": "^9.5.4" }, @@ -60,4 +60,4 @@ }, "minimum-stability": "dev", "prefer-stable": true -} \ No newline at end of file +}