From 50934f500f60da70400eba1bda6ceda0a56afec3 Mon Sep 17 00:00:00 2001 From: erikn69 Date: Thu, 12 Jan 2023 11:59:59 -0500 Subject: [PATCH] Laravel 10.x Support (#59) --- .github/workflows/run-tests.yml | 18 +++++------------- composer.json | 10 +++++----- 2 files changed, 10 insertions(+), 18 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 11df5ac..1f17f38 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,26 +10,18 @@ jobs: matrix: os: [ubuntu-latest] php: [8.2, 8.1, 8.0] - laravel: [9.*, 8.*] + laravel: [10.*, 9.*, 8.*] dependency-version: [prefer-stable] include: + - laravel: 10.* + testbench: 8.* - laravel: 9.* testbench: 7.* - laravel: 8.* testbench: 6.* exclude: - - laravel: 6.* - php: 8.2 - - laravel: 6.* - php: 8.1 - - laravel: 7.* - php: 8.2 - - laravel: 7.* - php: 8.1 - - laravel: 9.* - php: 7.4 - - laravel: 9.* - php: 7.3 + - laravel: 10.* + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 93b31ba..ab9eb4d 100644 --- a/composer.json +++ b/composer.json @@ -26,13 +26,13 @@ } ], "require": { - "php": "^8.0|^8.1", - "illuminate/contracts": "^8.0|^9.0", - "illuminate/support": "^8.0|^9.0" + "php": "^8.0", + "illuminate/contracts": "^8.0|^9.0|^10.0", + "illuminate/support": "^8.0|^9.0|^10.0" }, "require-dev": { "phpunit/phpunit": "^9.5", - "orchestra/testbench": "^7.0", + "orchestra/testbench": "^6.0|^7.0|^8.0", "pestphp/pest": "^1.22" }, "autoload": { @@ -62,4 +62,4 @@ "pestphp/pest-plugin": true } } -} \ No newline at end of file +}