From b8cca2dab3239c6f86ab7a6267a9ea4c85ec6dc2 Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Thu, 21 Mar 2024 06:10:38 +0100 Subject: [PATCH] Add Support for Laravel 11 (#111) --- .github/workflows/run-tests.yml | 4 +++- composer.json | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ca3cd67..18289ec 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -15,11 +15,13 @@ jobs: matrix: os: [ubuntu-latest] php: [8.2, 8.3] - laravel: [10.*] + laravel: [10.*, 11.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: ^8.0 + - laravel: 11.* + testbench: ^9.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 4dbdf39..2d64bf6 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "require": { "php": "^8.2", "hammerstone/sidecar": "^0.4.0", - "illuminate/contracts": "^10.0", + "illuminate/contracts": "^10.0 || ^11.0", "spatie/browsershot": "^4.0", "spatie/laravel-package-tools": "^1.9.2" }, @@ -31,13 +31,13 @@ "laravel/pint": "^1.13", "league/flysystem-aws-s3-v3": "^1.0|^2.0|^3.0", "nunomaduro/collision": "^7.0|^8.0", - "orchestra/testbench": "^8.0", + "orchestra/testbench": "^8.0|^9.0", "pestphp/pest": "^2.0", "pestphp/pest-plugin-laravel": "^2.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^10", + "phpunit/phpunit": "^10 | ^11.0", "spatie/image": "^3.3", "spatie/pixelmatch-php": "^1.0" },