Skip to content

Commit a5bacc2

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

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
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
@@ -161,7 +161,7 @@ jobs:
161161
uses: shivammathur/setup-php@v2
162162
with:
163163
# Should be the higest supported version, so we can use the newest tools
164-
php-version: '8.4'
164+
php-version: '8.5'
165165
tools: composer, composer-require-checker, composer-unused, phpcs
166166
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, soap, spl, xml
167167

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

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@
2121
}
2222
},
2323
"require": {
24-
"php": "^8.1",
24+
"php": "^8.3",
2525
"ext-dom": "*",
2626

2727
"robrichards/xmlseclibs": "^3.1",
28-
"simplesamlphp/assert": "^1.8",
29-
"simplesamlphp/saml2": "^5.0@dev",
30-
"simplesamlphp/simplesamlphp": "^3@dev",
31-
"simplesamlphp/xml-common": "^1.24",
32-
"simplesamlphp/xml-security": "^1.13",
33-
"symfony/http-foundation": "^6.4"
28+
"simplesamlphp/assert": "^1.9",
29+
"simplesamlphp/saml2": "^6.1",
30+
"simplesamlphp/simplesamlphp": "^2.5@dev",
31+
"simplesamlphp/xml-common": "^2.7",
32+
"simplesamlphp/xml-security": "^2.3",
33+
"symfony/http-foundation": "^7.4"
3434
},
3535
"require-dev": {
36-
"simplesamlphp/simplesamlphp-test-framework": "~1.9.2"
36+
"simplesamlphp/simplesamlphp-test-framework": "~1.11"
3737
},
3838
"config": {
3939
"allow-plugins": {

0 commit comments

Comments
 (0)