Skip to content

Commit a1fb12e

Browse files
committed
Bump minimum PHP-version
1 parent 49d6254 commit a1fb12e

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

.github/workflows/php.yml

Lines changed: 10 additions & 10 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.2', '8.3', '8.4']
22+
php-version: ['8.3', '8.4', '8.5']
2323

24-
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.10.6
24+
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.11.0
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.10.6
33+
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_linter.yml@v1.11.0
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.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.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
166166
extensions: ctype, date, dom, filter, hash, mbstring, openssl, pcre, soap, spl, xml
167167
coverage: none
@@ -215,7 +215,7 @@ jobs:
215215
uses: shivammathur/setup-php@v2
216216
with:
217217
# Should be the lowest supported version
218-
php-version: '8.2'
218+
php-version: '8.3'
219219
extensions: ctype, date, dom, filter, hash, mbstring, openssl, pcre, soap, spl, xml
220220
tools: composer
221221
coverage: none

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
],
2020
"require": {
21-
"php": "^8.2",
21+
"php": "^8.3",
2222
"ext-date": "*",
2323
"ext-dom": "*",
2424
"ext-filter": "*",
@@ -29,18 +29,18 @@
2929
"nyholm/psr7": "~1.8",
3030
"psr/clock": "~1.0",
3131
"psr/http-message": "~2.0",
32-
"psr/log": "~2.3 || ~3.0",
32+
"psr/log": "~3.0",
3333
"simplesamlphp/assert": "~1.9",
34-
"simplesamlphp/xml-common": "~2.4",
35-
"simplesamlphp/xml-security": "~2.0",
36-
"simplesamlphp/xml-soap": "~2.0"
34+
"simplesamlphp/xml-common": "~2.5",
35+
"simplesamlphp/xml-security": "~2.1",
36+
"simplesamlphp/xml-soap": "~2.1"
3737
},
3838
"require-dev": {
3939
"ext-intl": "*",
4040

4141
"beste/clock": "~3.0",
4242
"mockery/mockery": "~1.6",
43-
"simplesamlphp/simplesamlphp-test-framework": "~1.10"
43+
"simplesamlphp/simplesamlphp-test-framework": "~1.11"
4444
},
4545
"suggest": {
4646
"ext-soap": "*"
@@ -58,7 +58,7 @@
5858
},
5959
"extra": {
6060
"branch-alias": {
61-
"dev-master": "v5.1.x-dev"
61+
"dev-master": "v6.1.x-dev"
6262
}
6363
},
6464
"config": {

0 commit comments

Comments
 (0)