From 44d5ad5aeb599e533e740eff9a0c5f47c867158c Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 24 Sep 2024 07:24:38 +0800 Subject: [PATCH] [8.x] Supports PHP 8.4 Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 694b05e0b..a4122dd89 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,6 +21,9 @@ jobs: php: [8.1, 8.2, 8.3] laravel: [10, 11] phpunit: [10.5, '11.0'] + include: + - php: 8.4 + laravel: 11 exclude: - php: 8.1 laravel: 11 @@ -44,8 +47,7 @@ jobs: - name: Install dependencies run: | - composer require "illuminate/contracts:^${{ matrix.laravel }}" "phpunit/phpunit:^${{ matrix.phpunit }}" --dev --no-update - composer update --prefer-dist --no-interaction --no-progress + composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts:^${{ matrix.laravel }}" --with="phpunit/phpunit:^${{ matrix.phpunit }}" - name: Execute tests run: vendor/bin/phpunit -c phpunit.xml.dist @@ -56,8 +58,8 @@ jobs: strategy: fail-fast: true matrix: - php: [8.2] - laravel: [10] + php: [8.2, 8.3] + laravel: [10, 11] name: Test Stubs PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}