Skip to content

Commit 5cf34a3

Browse files
committed
Test on PHP 8.4
1 parent 3f69a19 commit 5cf34a3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/php.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
uses: shivammathur/setup-php@v2
5050
with:
5151
# Should be the higest supported version, so we can use the newest tools
52-
php-version: '8.3'
52+
php-version: '8.4'
5353
tools: composer, composer-require-checker, composer-unused, phpcs, psalm
5454
# optional performance gain for psalm: opcache
5555
extensions: ctype, date, dom, fileinfo, filter, hash, intl, ldap, mbstring, opcache, openssl, pcre, spl, xml
@@ -157,7 +157,7 @@ jobs:
157157
fail-fast: false
158158
matrix:
159159
operating-system: [ubuntu-latest]
160-
php-versions: ['8.1', '8.2', '8.3']
160+
php-versions: ['8.1', '8.2', '8.3', '8.4']
161161

162162
steps:
163163
- name: Install libkrb5-dev
@@ -200,16 +200,16 @@ jobs:
200200
run: composer install --no-progress --prefer-dist --optimize-autoloader
201201

202202
- name: Run unit tests with coverage
203-
if: ${{ matrix.php-versions == '8.3' }}
203+
if: ${{ matrix.php-versions == '8.4' }}
204204
run: vendor/bin/phpunit
205205

206206
- name: Run unit tests (no coverage)
207-
if: ${{ matrix.php-versions != '8.3' }}
207+
if: ${{ matrix.php-versions != '8.4' }}
208208
run: vendor/bin/phpunit --no-coverage
209209

210210
- name: Save coverage data
211-
if: ${{ matrix.php-versions == '8.3' }}
212-
uses: actions/upload-artifact@v4
211+
if: ${{ matrix.php-versions == '8.4' }}
212+
uses: actions/upload-artifact@v3
213213
with:
214214
name: coverage-data
215215
path: ${{ github.workspace }}/build
@@ -222,7 +222,7 @@ jobs:
222222
fail-fast: true
223223
matrix:
224224
operating-system: [windows-latest]
225-
php-versions: ['8.1', '8.2', '8.3']
225+
php-versions: ['8.1', '8.2', '8.3', '8.4']
226226

227227
steps:
228228
- name: Setup PHP, with composer and extensions

0 commit comments

Comments
 (0)