Skip to content

Commit a34609b

Browse files
authored
[4.x] Supports PHP 8.4 (#276)
* [4.x] Supports PHP 8.4 * wip * wip * Update tests.yml
1 parent d05f8f3 commit a34609b

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/tests.yml

+13-11
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,20 @@ jobs:
1616
strategy:
1717
fail-fast: true
1818
matrix:
19-
php: ['8.0', 8.1, 8.2, 8.3]
20-
laravel: [9, 10, 11]
21-
exclude:
19+
php: [8.1, 8.2, 8.3, 8.4]
20+
laravel: [10, 11]
21+
include:
22+
- php: 8.2
23+
laravel: 9
24+
- php: 8.1
25+
laravel: 9
2226
- php: '8.0'
27+
laravel: 9
28+
exclude:
29+
- php: 8.4
2330
laravel: 10
24-
- php: '8.0'
31+
- php: 8.1
2532
laravel: 11
26-
- php: '8.1'
27-
laravel: 11
28-
- php: 8.3
29-
laravel: 9
3033

3134
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
3235

@@ -45,8 +48,7 @@ jobs:
4548

4649
- name: Install dependencies
4750
run: |
48-
composer require "illuminate/contracts=^${{ matrix.laravel }}" --dev --no-update
49-
composer update --prefer-dist --no-interaction --no-progress
51+
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/support=^${{ matrix.laravel }}"
5052
5153
- name: Execute tests
52-
run: vendor/bin/phpunit
54+
run: vendor/bin/phpunit ${{ matrix.laravel >= 10 && '--display-deprecations --fail-on-deprecation' || '' }}

0 commit comments

Comments
 (0)