Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Commit 96e8279

Browse files
committed
Start testing on PHP 8.5
1 parent 2118f45 commit 96e8279

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

.github/workflows/php.yml

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

24-
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.9.2
24+
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.10.3
2525
with:
2626
php-version: ${{ matrix.php-version }}
2727

@@ -30,7 +30,7 @@ jobs:
3030
strategy:
3131
fail-fast: false
3232

33-
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_linter.yml@v1.9.2
33+
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_linter.yml@v1.10.3
3434
with:
3535
enable_eslinter: false
3636
enable_jsonlinter: true
@@ -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.2', '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@v4
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.2', '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
165165
extensions: ctype, date, dom, filter, pcre, soap, spl, xml
166166
coverage: none
@@ -193,7 +193,7 @@ jobs:
193193
run: composer-unused
194194

195195
- name: PHP Code Sniffer
196-
run: phpcs
196+
run: vendor/bin/phpcs
197197

198198
- name: PHPStan
199199
run: |
@@ -212,7 +212,7 @@ jobs:
212212
uses: shivammathur/setup-php@v2
213213
with:
214214
# Should be the lowest supported version
215-
php-version: '8.1'
215+
php-version: '8.2'
216216
extensions: ctype, date, dom, filter, pcre, soap, spl, xml
217217
tools: composer
218218
coverage: none

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^8.1",
13+
"php": "^8.2",
1414
"ext-dom": "*",
1515
"ext-spl": "*",
1616

17-
"simplesamlphp/assert": "~1.9.0",
18-
"simplesamlphp/composer-xmlprovider-installer": "~1.0.2",
17+
"simplesamlphp/assert": "~1.9.1",
18+
"simplesamlphp/composer-xmlprovider-installer": "~1.1.0",
1919
"simplesamlphp/saml2": "~5.1.0-rc1",
20-
"simplesamlphp/xml-common": "~2.0.3",
21-
"simplesamlphp/xml-security": "~2.0.3",
22-
"simplesamlphp/xml-soap": "~2.0.1"
20+
"simplesamlphp/xml-common": "~2.1.2",
21+
"simplesamlphp/xml-security": "~2.0.5",
22+
"simplesamlphp/xml-soap": "~2.0.5"
2323
},
2424
"require-dev": {
25-
"simplesamlphp/simplesamlphp-test-framework": "~1.9.3"
25+
"simplesamlphp/simplesamlphp-test-framework": "~1.10.3"
2626
},
2727
"autoload": {
2828
"psr-4": {

0 commit comments

Comments
 (0)