Skip to content

Commit fbe4361

Browse files
committed
adding PHP8.4 support
1 parent 8f711c3 commit fbe4361

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/build.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
matrix:
1313
php: ['8.1', '8.2', '8.3']
1414
stability: [prefer-lowest, prefer-stable]
15+
include:
16+
- php: '8.4'
17+
flags: "--ignore-platform-req=php"
18+
phpunit-flags: '--no-coverage'
19+
stability: prefer-stable
1520
steps:
1621
- name: Checkout code
1722
uses: actions/checkout@v3
@@ -45,11 +50,16 @@ jobs:
4550

4651
- name: Run Unit tests with coverage
4752
run: composer phpunit -- ${{ matrix.phpunit-flags }}
53+
if: ${{ matrix.php == '8.3' || matrix.php == '8.2' || matrix.php == '8.1' }}
54+
55+
- name: Run Unit tests without coverage
56+
run: composer phpunit:min
57+
if: ${{ matrix.php == '8.4'}}
4858

4959
- name: Run static analysis
5060
run: composer phpstan
51-
if: ${{ matrix.php == '8.2' && matrix.stability == 'prefer-stable'}}
61+
if: ${{ matrix.php == '8.3' && matrix.stability == 'prefer-stable'}}
5262

5363
- name: Run Coding style rules
5464
run: composer phpcs:fix
55-
if: ${{ matrix.php == '8.2' && matrix.stability == 'prefer-stable'}}
65+
if: ${{ matrix.php == '8.3' && matrix.stability == 'prefer-stable'}}

0 commit comments

Comments
 (0)