Skip to content

Commit 1fae2a1

Browse files
committed
Bump minimum PHP-version
1 parent 74f93e2 commit 1fae2a1

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.github/workflows/php.yml

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

161161
steps:
162162
- name: Setup PHP, with composer and extensions
@@ -196,15 +196,15 @@ jobs:
196196
run: composer install --no-progress --prefer-dist --optimize-autoloader
197197

198198
- name: Run unit tests with coverage
199-
if: ${{ matrix.php-versions == '8.3' }}
199+
if: ${{ matrix.php-versions == '8.5' }}
200200
run: vendor/bin/phpunit
201201

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

206206
- name: Save coverage data
207-
if: ${{ matrix.php-versions == '8.3' }}
207+
if: ${{ matrix.php-versions == '8.5' }}
208208
uses: actions/upload-artifact@v6
209209
with:
210210
name: coverage-data
@@ -218,7 +218,7 @@ jobs:
218218
fail-fast: true
219219
matrix:
220220
operating-system: [windows-latest]
221-
php-versions: ['8.1', '8.2', '8.3']
221+
php-versions: ['8.3', '8.4', '8.5']
222222

223223
steps:
224224
- name: Setup PHP, with composer and extensions

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@
3434
}
3535
},
3636
"require": {
37-
"php": "^8.1",
38-
"simplesamlphp/simplesamlphp": "^2.1.0",
39-
"symfony/http-foundation": "^6.4.0"
37+
"php": "^8.3",
38+
39+
"simplesamlphp/simplesamlphp": "~2.4",
40+
"symfony/http-foundation": "~7.4"
4041
},
4142
"require-dev": {
42-
"simplesamlphp/simplesamlphp-test-framework": "^1.7.0"
43+
"simplesamlphp/simplesamlphp-test-framework": "~1.11"
4344
},
4445
"support": {
4546
"issues": "https://github.com/simplesamlphp/simplesamlphp-module-preprodwarning/issues",

0 commit comments

Comments
 (0)