From 2e10917ba25e3b65906cbccd8ff33b32e49adc74 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 13 Nov 2024 19:03:16 +0800 Subject: [PATCH] [15.x] Supports PHP 8.4 Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e3ce76f7..6968cf6c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,11 +16,13 @@ jobs: strategy: fail-fast: true matrix: - php: [8.1, 8.2, 8.3] + php: [8.1, 8.2, 8.3, 8.4] laravel: [10, 11] exclude: - php: 8.1 laravel: 11 + - php: 8.4 + laravel: 10 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} @@ -39,10 +41,9 @@ 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 + run: vendor/bin/phpunit --display-deprecations --fail-on-deprecation env: STRIPE_SECRET: ${{ secrets.STRIPE_SECRET }}