From d2b3df7b7b63cb2b6c94b280099778b48ca298ed Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 12 Nov 2024 18:06:45 +0800 Subject: [PATCH 1/8] [5.x] Supports PHP 8.4 --- .github/workflows/tests.yml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3731bc014..41ee527e0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,21 +23,24 @@ jobs: strategy: fail-fast: true matrix: - php: [8.0, 8.1, 8.2, 8.3] - laravel: [8, 9, 10, 11] - exclude: - - php: '8.0' - laravel: 10 + php: [8.1, 8.2, 8.3, 8.4] + laravel: [10, 11] + include: + - php: 8.2 + laravel: 9 + - php: 8.1 + laravel: 9 - php: '8.0' - laravel: 11 + laravel: 9 - php: 8.1 - laravel: 11 - - php: 8.2 laravel: 8 - - php: 8.3 + - php: '8.0' laravel: 8 - - php: 8.3 - laravel: 9 + exclude: + - php: 8.4 + laravel: 10 + - php: 8.1 + laravel: 11 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} @@ -56,8 +59,7 @@ jobs: - name: Install dependencies run: | - composer require "illuminate/contracts=^${{ matrix.laravel }}" --dev --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 From 0935e6c8ebc27f5bb9b592f9239d4f75f0c868ca Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 12 Nov 2024 18:08:01 +0800 Subject: [PATCH 2/8] wip --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 41ee527e0..faa5dff90 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -62,4 +62,4 @@ jobs: 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 From 0ef71968d232743f6e7135fae8b1017ce708ff9d Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 12 Nov 2024 18:11:11 +0800 Subject: [PATCH 3/8] wip --- .github/workflows/tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index faa5dff90..b24fa1a42 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -63,3 +63,8 @@ jobs: - name: Execute tests run: vendor/bin/phpunit --display-deprecations + if: matrix.laravel >= 10 + + - name: Execute tests + run: vendor/bin/phpunit + if: matrix.laravel < 10 From 6eacff78bed23f5ff5b1f809be11195948848bc1 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 12 Nov 2024 18:13:07 +0800 Subject: [PATCH 4/8] wip --- .github/workflows/tests.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b24fa1a42..41ee527e0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -61,10 +61,5 @@ jobs: run: | composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts=^${{ matrix.laravel }}" - - name: Execute tests - run: vendor/bin/phpunit --display-deprecations - if: matrix.laravel >= 10 - - name: Execute tests run: vendor/bin/phpunit - if: matrix.laravel < 10 From 7cfa64996b9c3568045119ce0b368aa396261565 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 13 Nov 2024 13:08:36 +0800 Subject: [PATCH 5/8] wip --- .github/workflows/tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 41ee527e0..8f99a95e1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -61,5 +61,10 @@ jobs: run: | composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts=^${{ matrix.laravel }}" + - name: Execute tests (display deprecations) + run: vendor/bin/phpunit --display-deprecations --fail-on-deprecation + if: matrix.laravel >= 10 + - name: Execute tests run: vendor/bin/phpunit + if: matrix.laravel < 10 \ No newline at end of file From f653259f3146fd1cc81d8b7d89f7140bbeb2416d Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 14 Nov 2024 14:29:32 +0800 Subject: [PATCH 6/8] Update tests.yml --- .github/workflows/tests.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8f99a95e1..637f41717 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -62,9 +62,4 @@ jobs: composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts=^${{ matrix.laravel }}" - name: Execute tests (display deprecations) - run: vendor/bin/phpunit --display-deprecations --fail-on-deprecation - if: matrix.laravel >= 10 - - - name: Execute tests - run: vendor/bin/phpunit - if: matrix.laravel < 10 \ No newline at end of file + run: vendor/bin/phpunit ${{ matrix.laravel >= 10 && '--display-deprecations --fail-on-deprecation' || '' } From 00006377370f010e914bebdcc9e2eb5c489ed067 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 14 Nov 2024 14:31:02 +0800 Subject: [PATCH 7/8] Update tests.yml --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 637f41717..fa7d633cd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -62,4 +62,4 @@ jobs: composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts=^${{ matrix.laravel }}" - name: Execute tests (display deprecations) - run: vendor/bin/phpunit ${{ matrix.laravel >= 10 && '--display-deprecations --fail-on-deprecation' || '' } + run: vendor/bin/phpunit ${{ matrix.laravel >= 10 && '--display-deprecations --fail-on-deprecation' || '' }} From abb6bfd220c9b6dc955068c627c45258994b78f2 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 14 Nov 2024 14:31:23 +0800 Subject: [PATCH 8/8] Update tests.yml --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fa7d633cd..6522597a5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -61,5 +61,5 @@ jobs: run: | composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts=^${{ matrix.laravel }}" - - name: Execute tests (display deprecations) + - name: Execute tests run: vendor/bin/phpunit ${{ matrix.laravel >= 10 && '--display-deprecations --fail-on-deprecation' || '' }}