From b466724a7bd1de5f5b861de0f51f3eaf7c551243 Mon Sep 17 00:00:00 2001 From: Randall Wilk Date: Sun, 10 Mar 2024 18:31:27 -0500 Subject: [PATCH] Add Laravel 11.x support --- .github/workflows/run-tests.yml | 8 +++++++- composer.json | 14 +++++++------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 1f943fa..06ebfb4 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -15,9 +15,11 @@ jobs: fail-fast: true matrix: php: [8.2, 8.1, 8.0] - laravel: [10.*, 9.*, 8.*] + laravel: [11.*, 10.*, 9.*, 8.*] dependency-version: [prefer-lowest, prefer-stable] include: + - laravel: 11.* + testbench: 9.* - laravel: 10.* testbench: 8.* - laravel: 9.* @@ -25,6 +27,10 @@ jobs: - laravel: 8.* testbench: ^6.23 exclude: + - laravel: 11.* + php: 8.0 + - laravel: 11.* + php: 8.1 - laravel: 10.* php: 8.0 - laravel: 9.* diff --git a/composer.json b/composer.json index d49501c..4132e63 100644 --- a/composer.json +++ b/composer.json @@ -19,18 +19,18 @@ "require": { "php": "^8.0|^8.1|^8.2", "ext-simplexml": "*", - "illuminate/contracts": "^8.0|^9.0|^10.0", - "illuminate/http": "^8.0|^9.0|^10.0", - "illuminate/support": "^8.0|^9.0|^10.0", + "illuminate/contracts": "^8.0|^9.0|^10.0|^11.0", + "illuminate/http": "^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^8.0|^9.0|^10.0|^11.0", "spatie/laravel-package-tools": "^1.0|^1.13" }, "require-dev": { "guzzlehttp/guzzle": "^7.2", "laravel/pint": "^1.2", - "orchestra/testbench": "^6.23|^7.0|^8.0", - "pestphp/pest": "^1.22", - "pestphp/pest-plugin-laravel": "^1.3", - "pestphp/pest-plugin-parallel": "^1.2" + "orchestra/testbench": "^6.23|^7.0|^8.0|^9.0", + "pestphp/pest": "^1.22|^2.0", + "pestphp/pest-plugin-laravel": "^1.3|^2.0", + "pestphp/pest-plugin-parallel": "^1.2|^2.0" }, "suggest": { "ext-gd": "Required for rotating labels",