Skip to content

Commit 9c82caa

Browse files
committed
Bump minimum PHP-version to 8.3, start testing on PHP 8.5 and bump dependencies
1 parent e90e41d commit 9c82caa

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/php.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
php-version: ['8.1', '8.2', '8.3', '8.4']
22+
php-version: ['8.3', '8.4', '8.5']
2323

2424
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.11.0
2525
with:
@@ -45,7 +45,7 @@ jobs:
4545
fail-fast: false
4646
matrix:
4747
operating-system: [ubuntu-latest]
48-
php-versions: ['8.1', '8.2', '8.3', '8.4']
48+
php-versions: ['8.3', '8.4', '8.5']
4949

5050
steps:
5151
- name: Setup PHP, with composer and extensions
@@ -85,15 +85,15 @@ jobs:
8585
run: composer install --no-progress --prefer-dist --optimize-autoloader
8686

8787
- name: Run unit tests with coverage
88-
if: ${{ matrix.php-versions == '8.4' }}
88+
if: ${{ matrix.php-versions == '8.5' }}
8989
run: vendor/bin/phpunit
9090

9191
- name: Run unit tests (no coverage)
92-
if: ${{ matrix.php-versions != '8.4' }}
92+
if: ${{ matrix.php-versions != '8.5' }}
9393
run: vendor/bin/phpunit --no-coverage
9494

9595
- name: Save coverage data
96-
if: ${{ matrix.php-versions == '8.4' }}
96+
if: ${{ matrix.php-versions == '8.5' }}
9797
uses: actions/upload-artifact@v6
9898
with:
9999
name: coverage-data
@@ -107,7 +107,7 @@ jobs:
107107
fail-fast: true
108108
matrix:
109109
operating-system: [windows-latest]
110-
php-versions: ['8.1', '8.2', '8.3', '8.4']
110+
php-versions: ['8.3', '8.4', '8.5']
111111

112112
steps:
113113
- name: Setup PHP, with composer and extensions
@@ -160,7 +160,7 @@ jobs:
160160
uses: shivammathur/setup-php@v2
161161
with:
162162
# Should be the higest supported version, so we can use the newest tools
163-
php-version: '8.4'
163+
php-version: '8.5'
164164
tools: composer, composer-require-checker, composer-unused, phpcs, phpstan
165165
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, spl, xml
166166

@@ -211,7 +211,7 @@ jobs:
211211
uses: shivammathur/setup-php@v2
212212
with:
213213
# Should be the lowest supported version
214-
php-version: '8.1'
214+
php-version: '8.3'
215215
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, spl, xml
216216
tools: composer
217217
coverage: none

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
}
2323
},
2424
"require": {
25-
"php": "^8.1",
25+
"php": "^8.3",
2626

27-
"simplesamlphp/assert": "~1.8.1",
28-
"simplesamlphp/composer-module-installer": "~1.4.0",
29-
"simplesamlphp/simplesamlphp": "~2.4.0"
27+
"simplesamlphp/assert": "~2.0",
28+
"simplesamlphp/composer-module-installer": "~1.7",
29+
"simplesamlphp/simplesamlphp": "~2.5@dev"
3030
},
3131
"require-dev": {
32-
"simplesamlphp/simplesamlphp-test-framework": "~1.9.2"
32+
"simplesamlphp/simplesamlphp-test-framework": "~1.11"
3333
},
3434
"config": {
3535
"allow-plugins": {

0 commit comments

Comments
 (0)