From f5b00aac616a0ff6ee6247175a6339a536abc550 Mon Sep 17 00:00:00 2001 From: Zacharias Creutznacher Date: Thu, 7 Mar 2024 20:30:41 +0100 Subject: [PATCH] laravel 11 support --- .github/workflows/run-tests.yml | 13 +++++++------ composer.json | 10 +++++----- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f0205eb..30f0957 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,20 +13,21 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.2, 8.1, 8.0, 7.4] - laravel: [10.*, 9.*, 8.*] + php: [8.3, 8.2, 8.1, 8.0, 7.4] + laravel: [11.*, 10.*, 9.*, 8.*] stability: [prefer-lowest, prefer-stable] include: + - laravel: 11.* + testbench: 9.* - laravel: 10.* testbench: 8.* - carbon: ^2.63 - laravel: 9.* testbench: 7.* - carbon: ^2.63 - laravel: 8.* testbench: 6.27 - carbon: ^2.63 exclude: + - laravel: 11.* + php: 8.1 - laravel: 10.* php: 8.0 - laravel: 10.* @@ -54,7 +55,7 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:>=2.62.1" --no-interaction --no-update composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: List Installed Dependencies diff --git a/composer.json b/composer.json index c856100..4e89c6d 100644 --- a/composer.json +++ b/composer.json @@ -17,16 +17,16 @@ ], "require": { "php": "^7.4 || ^8.0", - "illuminate/database": "^8.0 || ^9.0 || ^10.0", - "illuminate/support": "^8.0 || ^9.0 || ^10.0", - "illuminate/testing": "^8.0 || ^9.0 || ^10.0", - "illuminate/contracts": "^8.0 || ^9.0 || ^10.0", + "illuminate/database": "^8.0 || ^9.0 || ^10.0 || ^11.0", + "illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0", + "illuminate/testing": "^8.0 || ^9.0 || ^10.0 || ^11.0", + "illuminate/contracts": "^8.0 || ^9.0 || ^10.0 || ^11.0", "spatie/laravel-package-tools": "^1.12 || ^1.14" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.13", "nunomaduro/larastan": "^1.0 || ^2.5", - "orchestra/testbench": "^6.27 || ^7.0 || ^8.0 ", + "orchestra/testbench": "^6.27 || ^7.0 || ^8.0 || ^9.0", "pestphp/pest": "^1.22 || ^2.0", "pestphp/pest-plugin-laravel": "^1.22 || ^2.0", "spatie/laravel-ray": "^1.32"