Skip to content

Commit 55c85f3

Browse files
committed
Test on PHP 8.4
1 parent e28613d commit 55c85f3

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.2'
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
@@ -117,7 +117,7 @@ jobs:
117117
uses: shivammathur/setup-php@v2
118118
with:
119119
# Should be the lowest supported version
120-
php-version: '8.0'
120+
php-version: '8.1'
121121
extensions: ctype, date, dom, fileinfo, filter, hash, intl, ldap, mbstring, openssl, pcre, spl, xml
122122
tools: composer
123123
coverage: none
@@ -157,7 +157,7 @@ jobs:
157157
fail-fast: false
158158
matrix:
159159
operating-system: [ubuntu-latest]
160-
php-versions: ['8.0', '8.1', '8.2']
160+
php-versions: ['8.1', '8.2', '8.3', '8.4']
161161

162162
steps:
163163
- name: Install libkrb5-dev
@@ -200,15 +200,15 @@ 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.2' }}
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.2' }}
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.2' }}
211+
if: ${{ matrix.php-versions == '8.4' }}
212212
uses: actions/upload-artifact@v3
213213
with:
214214
name: coverage-data
@@ -222,7 +222,7 @@ jobs:
222222
fail-fast: true
223223
matrix:
224224
operating-system: [windows-latest]
225-
php-versions: ['8.0', '8.1', '8.2']
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)