From 7d51afc7b6a3a7a97ef4a200471932150fe65dd2 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Wed, 13 Mar 2024 12:27:20 +0300 Subject: [PATCH] Added Laravel 11 support --- .github/workflows/tests.yml | 10 ++++++---- composer.json | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3a12dbb..833ca3a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,10 +12,12 @@ jobs: fail-fast: true matrix: php: [ "8.1", "8.2", "8.3" ] - laravel: [ "10.0" ] - prefer: [ "stable", "lowest" ] + laravel: [ "10.0", "11.0" ] + exclude: + - laravel: "11.0" + php: "8.1" - name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }} ${{ matrix.prefer }} + name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }} steps: - name: Checkout code @@ -29,7 +31,7 @@ jobs: coverage: xdebug - name: Install dependencies - run: composer require laravel/framework:^${{ matrix.laravel }} --prefer-${{ matrix.prefer }} + run: composer require laravel/framework:^${{ matrix.laravel }} - name: Execute tests run: php vendor/bin/pest --compact diff --git a/composer.json b/composer.json index 202d0d1..f9f5341 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "dragon-code/support": "^6.11" }, "require-dev": { - "illuminate/support": "^10.31", + "illuminate/support": "^10.31 || ^11.0", "laravel-lang/locale-list": "^1.2", "pestphp/pest": "^2.24.3", "punic/punic": "^3.8",