Skip to content

Commit 21fe526

Browse files
committed
Bump minimum PHP version to 8.2 and start testing on PHP 8.5
1 parent ebc9a9d commit 21fe526

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.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.5'
5353
tools: composer, composer-require-checker, composer-unused, phpcs
5454
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, opcache, openssl, pcre, spl, xml
5555

@@ -100,7 +100,7 @@ jobs:
100100
uses: shivammathur/setup-php@v2
101101
with:
102102
# Should be the lowest supported version
103-
php-version: '8.1'
103+
php-version: '8.2'
104104
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, spl, xml
105105
tools: composer
106106
coverage: none
@@ -140,7 +140,7 @@ jobs:
140140
fail-fast: false
141141
matrix:
142142
operating-system: [ubuntu-latest]
143-
php-versions: ['8.1', '8.2', '8.3', '8.4']
143+
php-versions: ['8.2', '8.3', '8.4', '8.5']
144144

145145
steps:
146146
- name: Setup PHP, with composer and extensions
@@ -180,15 +180,15 @@ jobs:
180180
run: composer install --no-progress --prefer-dist --optimize-autoloader
181181

182182
- name: Run unit tests with coverage
183-
if: ${{ matrix.php-versions == '8.4' }}
183+
if: ${{ matrix.php-versions == '8.5' }}
184184
run: vendor/bin/phpunit
185185

186186
- name: Run unit tests (no coverage)
187-
if: ${{ matrix.php-versions != '8.4' }}
187+
if: ${{ matrix.php-versions != '8.5' }}
188188
run: vendor/bin/phpunit --no-coverage
189189

190190
- name: Save coverage data
191-
if: ${{ matrix.php-versions == '8.4' }}
191+
if: ${{ matrix.php-versions == '8.5' }}
192192
uses: actions/upload-artifact@v4
193193
with:
194194
name: coverage-data
@@ -202,7 +202,7 @@ jobs:
202202
fail-fast: true
203203
matrix:
204204
operating-system: [windows-latest]
205-
php-versions: ['8.1', '8.2', '8.3', '8.4']
205+
php-versions: ['8.2', '8.3', '8.4', '8.5']
206206

207207
steps:
208208
- name: Setup PHP, with composer and extensions

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
}
1212
],
1313
"require": {
14-
"php": "^8.1",
14+
"php": "^8.2",
1515

1616
"enygma/yubikey": "^3.8",
1717
"symfony/http-foundation": "^6.4"
1818
},
1919
"require-dev": {
20-
"simplesamlphp/simplesamlphp": "^2.2",
21-
"simplesamlphp/simplesamlphp-test-framework": "^1.7.9"
20+
"simplesamlphp/simplesamlphp": "^2.4",
21+
"simplesamlphp/simplesamlphp-test-framework": "^1.10.3"
2222
},
2323
"autoload": {
2424
"psr-4": {

0 commit comments

Comments
 (0)