Skip to content

Commit d4e815b

Browse files
committed
Start testing on PHP 8.5
1 parent 9a52ca4 commit d4e815b

File tree

3 files changed

+1522
-197
lines changed

3 files changed

+1522
-197
lines changed

.github/workflows/php.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
php-version: ['8.2', '8.3', '8.4']
21+
php-version: ['8.2', '8.3', '8.4', '8.5']
2222

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

@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131

32-
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_linter.yml@v1.9.2
32+
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_linter.yml@v1.10.3
3333
with:
3434
enable_eslinter: true
3535
enable_jsonlinter: true
@@ -44,7 +44,7 @@ jobs:
4444
fail-fast: false
4545
matrix:
4646
operating-system: [ubuntu-latest]
47-
php-versions: ['8.2', '8.3', '8.4']
47+
php-versions: ['8.2', '8.3', '8.4', '8.5']
4848

4949
steps:
5050
- name: Setup PHP, with composer and extensions
@@ -90,15 +90,15 @@ jobs:
9090
run: composer install --no-progress --prefer-dist --optimize-autoloader
9191

9292
- name: Run unit tests with coverage
93-
if: ${{ matrix.php-versions == '8.2' }}
93+
if: ${{ matrix.php-versions == '8.5' }}
9494
run: ./vendor/bin/phpunit
9595

9696
- name: Run unit tests (no coverage)
97-
if: ${{ matrix.php-versions != '8.2' }}
97+
if: ${{ matrix.php-versions != '8.5' }}
9898
run: ./vendor/bin/phpunit --no-coverage
9999

100100
- name: Save coverage data
101-
if: ${{ matrix.php-versions == '8.2' }}
101+
if: ${{ matrix.php-versions == '8.5' }}
102102
uses: actions/upload-artifact@v4
103103
with:
104104
name: coverage-data
@@ -112,7 +112,7 @@ jobs:
112112
fail-fast: true
113113
matrix:
114114
operating-system: [windows-latest]
115-
php-versions: ['8.2', '8.3', '8.4']
115+
php-versions: ['8.2', '8.3', '8.4', '8.5']
116116

117117
steps:
118118
- name: Setup PHP, with composer and extensions
@@ -165,7 +165,7 @@ jobs:
165165
# https://github.com/shivammathur/setup-php
166166
uses: shivammathur/setup-php@v2
167167
with:
168-
php-version: '8.3'
168+
php-version: '8.5'
169169
tools: composer, psalm
170170
extensions: mbstring, soap, xml
171171
coverage: none

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@
6161
"gettext/translator": "^1.2",
6262
"phpmailer/phpmailer": "^6.10",
6363
"psr/log": "^3.0",
64-
"simplesamlphp/assert": "^1.8",
65-
"simplesamlphp/composer-module-installer": "^1.4",
64+
"simplesamlphp/assert": "^1.9",
65+
"simplesamlphp/composer-module-installer": "^1.5",
6666
"simplesamlphp/saml2": "^5.1.0-rc1",
67-
"simplesamlphp/saml2-legacy": "^4.19.0",
68-
"simplesamlphp/simplesamlphp-assets-base": "~2.5.0",
69-
"simplesamlphp/xml-common": "^2.0.3",
70-
"simplesamlphp/xml-security": "^2.0.3",
67+
"simplesamlphp/saml2-legacy": "^4.19",
68+
"simplesamlphp/simplesamlphp-assets-base": "~2.5",
69+
"simplesamlphp/xml-common": "^2.0",
70+
"simplesamlphp/xml-security": "^2.0",
7171
"symfony/cache": "~7.3.0",
7272
"symfony/config": "~7.3.0",
7373
"symfony/console": "~7.3.0",
@@ -96,7 +96,7 @@
9696
"gettext/php-scanner": "~2.0.1",
9797
"mikey179/vfsstream": "~1.6",
9898
"predis/predis": "~3.2.0",
99-
"simplesamlphp/simplesamlphp-test-framework": "~1.10.0",
99+
"simplesamlphp/simplesamlphp-test-framework": "~1.10.3",
100100
"symfony/translation": "~7.3.0"
101101
},
102102
"suggest": {

0 commit comments

Comments
 (0)