From ba4d51eb56de7711b3a37d63aa0643e99a339ae5 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 23 Sep 2024 21:32:56 +0800 Subject: [PATCH] [2.x] Supports PHP 8.4 (#182) Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3c5b716..979dbbc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,6 +18,9 @@ jobs: matrix: php: [7.2, 7.3, 7.4, '8.0', 8.1, 8.2, 8.3] laravel: [6, 7, 8, 9, 10, 11] + include: + - php: 8.4 + laravel: 11 exclude: - php: 7.2 laravel: 8 @@ -81,8 +84,7 @@ jobs: - name: Install dependencies run: | - composer require "illuminate/contracts=^${{ matrix.laravel }}" --no-update - composer update --prefer-dist --no-interaction --no-progress + composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts=^${{ matrix.laravel }}" - name: Execute tests run: vendor/bin/phpunit --verbose