From 18f3f47597f525570a969e38d89e70d3618ef4a4 Mon Sep 17 00:00:00 2001 From: Jorge Lapa <2780099+heyjorgedev@users.noreply.github.com> Date: Tue, 12 Mar 2024 15:51:57 +0000 Subject: [PATCH] support laravel 11 --- .github/workflows/tests.yml | 10 +++++++++- composer.json | 6 +++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 01ef68d..71bfc75 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,8 +10,16 @@ jobs: matrix: os: [ubuntu-latest] php: [8.1, 8.2, 8.3] - laravel: [10.*] + laravel: [10.*, 11.*] dependency-version: [prefer-lowest, prefer-stable] + include: + - laravel: 10.* + testbench: ^8.20 + - lararavel: 11.* + testbench: ^9.0 + exclude: + - php: 8.1 + laravel: 11.* name: Tests P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.os }} - ${{ matrix.dependency-version }} steps: diff --git a/composer.json b/composer.json index c1b85ed..3498a3d 100644 --- a/composer.json +++ b/composer.json @@ -12,19 +12,19 @@ "require": { "php": "^8.1.0", "guzzlehttp/guzzle": "^7.5.1", - "laravel/framework": "^10.9.0", + "laravel/framework": "^10.9.0|^11.0", "gehrisandro/tailwind-merge-php": "^v1.1.0" }, "require-dev": { "laravel/pint": "^1.13.8", - "orchestra/testbench": "^v8.0.8", + "orchestra/testbench": "^8.0|^9.0", "pestphp/pest": "^v2.30.0", "pestphp/pest-plugin-arch": "^2.6", "pestphp/pest-plugin-mock": "^2.0.0", "pestphp/pest-plugin-type-coverage": "^2.8", "phpstan/phpstan": "^1.10.55", "rector/rector": "^0.19", - "symfony/var-dumper": "^6.4.2" + "symfony/var-dumper": "^6.4.2|^7.0" }, "autoload": { "psr-4": {