Skip to content

Commit 5ee1edf

Browse files
committed
Bump minimum PHP-version to 8.3
1 parent e11f9f4 commit 5ee1edf

File tree

2 files changed

+29
-21
lines changed

2 files changed

+29
-21
lines changed

.github/workflows/php.yml

Lines changed: 11 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.2', '8.3', '8.4', '8.5']
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,15 +45,16 @@ jobs:
4545
fail-fast: false
4646
matrix:
4747
operating-system: [ubuntu-latest]
48-
php-versions: ['8.2', '8.3', '8.4', '8.5']
48+
php-versions: ['8.3', '8.4', '8.5']
4949

5050
steps:
5151
- name: Setup PHP, with composer and extensions
5252
# https://github.com/shivammathur/setup-php
5353
uses: shivammathur/setup-php@v2
5454
with:
5555
php-version: ${{ matrix.php-versions }}
56-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, soap, spl, xml
56+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl,
57+
pcre, posix, soap, sodium, spl, xml
5758
tools: composer
5859
ini-values: error_reporting=E_ALL
5960
coverage: pcov
@@ -107,15 +108,16 @@ jobs:
107108
fail-fast: true
108109
matrix:
109110
operating-system: [windows-latest]
110-
php-versions: ['8.2', '8.3', '8.4', '8.5']
111+
php-versions: ['8.3', '8.4', '8.5']
111112

112113
steps:
113114
- name: Setup PHP, with composer and extensions
114115
# https://github.com/shivammathur/setup-php
115116
uses: shivammathur/setup-php@v2
116117
with:
117118
php-version: ${{ matrix.php-versions }}
118-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, soap, spl, xml, zip
119+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl,\
120+
pcre, soap, sodium, spl, xml, zip
119121
tools: composer
120122
ini-values: error_reporting=E_ALL
121123
coverage: none
@@ -164,7 +166,7 @@ jobs:
164166
php-version: '8.5'
165167
tools: composer, composer-require-checker, composer-unused, phpcs
166168
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, \
167-
pcre, posix, soap, spl, xml
169+
pcre, posix, soap, sodium, spl, xml
168170

169171
- name: Setup problem matchers for PHP
170172
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
@@ -214,8 +216,9 @@ jobs:
214216
uses: shivammathur/setup-php@v2
215217
with:
216218
# Should be the lowest supported version
217-
php-version: '8.2'
218-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, soap, spl, xml
219+
php-version: '8.3'
220+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl,\
221+
pcre, posix, soap, sodium, spl, xml
219222
tools: composer
220223
coverage: none
221224

composer.json

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,32 +35,37 @@
3535
}
3636
},
3737
"require": {
38-
"php": "^8.2",
38+
"php": "^8.3",
3939
"ext-dom": "*",
4040

4141
"beste/clock": "^3.0",
4242
"psr/clock": "^1.0",
43-
"simplesamlphp/assert": "~1.8",
44-
"simplesamlphp/saml11": "~1.2",
45-
"simplesamlphp/saml2": "^5.0",
46-
"simplesamlphp/simplesamlphp": "^2.4",
47-
"simplesamlphp/xml-common": "~1.24",
48-
"simplesamlphp/xml-security": "~1.13",
49-
"simplesamlphp/xml-soap": "~1.7",
50-
"simplesamlphp/xml-wsdl": "~1.2",
51-
"simplesamlphp/ws-security": "~1.9",
52-
"symfony/http-foundation": "^6.4"
43+
"simplesamlphp/assert": "^1.9",
44+
"simplesamlphp/saml11": "^2.1",
45+
"simplesamlphp/saml2": "^6.0",
46+
"simplesamlphp/simplesamlphp": "^2.5@dev",
47+
"simplesamlphp/xml-common": "^2.5",
48+
"simplesamlphp/xml-security": "^2.1",
49+
"simplesamlphp/xml-soap": "^2.1",
50+
"simplesamlphp/xml-wsdl": "^2.1",
51+
"simplesamlphp/xml-wss-core": "^1.2",
52+
"simplesamlphp/xml-ws-addressing": "^1.1",
53+
"simplesamlphp/xml-ws-federation": "^1.0",
54+
"simplesamlphp/xml-ws-policy": "^1.1",
55+
"simplesamlphp/xml-ws-security-policy": "^1.0",
56+
"simplesamlphp/xml-ws-trust": "^1.0",
57+
"symfony/http-foundation": "^7.4"
5358
},
5459
"require-dev": {
55-
"simplesamlphp/simplesamlphp-test-framework": "~1.10"
60+
"simplesamlphp/simplesamlphp-test-framework": "~1.11"
5661
},
5762
"support": {
5863
"issues": "https://github.com/simplesamlphp/simplesamlphp-module-adfs/issues",
5964
"source": "https://github.com/simplesamlphp/simplesamlphp-module-adfs"
6065
},
6166
"extra": {
6267
"branch-alias": {
63-
"dev-master": "3.0.x-dev"
68+
"dev-master": "3.1.x-dev"
6469
}
6570
}
6671
}

0 commit comments

Comments
 (0)