From c27f91e79043f1e91007d519846b8d97b8855dc4 Mon Sep 17 00:00:00 2001 From: tpetry Date: Tue, 12 Mar 2024 10:10:33 +0100 Subject: [PATCH] Laravel 11 compatibility --- .github/workflows/unit-tests.yml | 7 ++++++- composer.json | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index cd0db8c..d6ffb9b 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -9,7 +9,7 @@ jobs: fail-fast: false matrix: php: [8.0, 8.1, 8.2, 8.3] - laravel: [6.*, 7.*, 8.*, 9.*, 10.*] + laravel: [6.*, 7.*, 8.*, 9.*, 10.*, 11.*] stability: [prefer-lowest, prefer-stable] exclude: # These combinations should work, but there is a problem when testing... @@ -19,6 +19,11 @@ jobs: php: 8.2 - laravel: 8.* php: 8.3 + # Laravel 10.x only supports PHP ^8.2 + - laravel: 11.* + php: 8.0 + - laravel: 11.* + php: 8.1 # Laravel 10.x only supports PHP ^8.1 - laravel: 10.* php: 8.0 diff --git a/composer.json b/composer.json index 690f057..c6aacbd 100644 --- a/composer.json +++ b/composer.json @@ -19,14 +19,14 @@ "php": "^8.0", "ext-pdo": "*", "guzzlehttp/guzzle": "^6.0|^7.0", - "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "spatie/invade": "^1.0" }, "require-dev": { "mockery/mockery": "^1.6", "nunomaduro/collision": "^3.1|^4.0|^5.0|^6.0|^7.0", "nunomaduro/larastan": "^1.0|^2.0", - "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0", + "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0"