Skip to content

Commit eff78b3

Browse files
committed
Bump PHP minimum to 8.3
1 parent 7eb855d commit eff78b3

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

.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', '8.5']
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,15 +45,15 @@ 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, filter, hash, mbstring, openssl, pcre, soap, spl, xml
56+
extensions: ctype, date, dom, filter, hash, intl, mbstring, openssl, pcre, soap, sodium, spl, xml
5757
tools: composer
5858
ini-values: error_reporting=E_ALL
5959
coverage: pcov
@@ -107,15 +107,15 @@ jobs:
107107
fail-fast: true
108108
matrix:
109109
operating-system: [windows-latest]
110-
php-versions: ['8.2', '8.3', '8.4', '8.5']
110+
php-versions: ['8.3', '8.4', '8.5']
111111

112112
steps:
113113
- name: Setup PHP, with composer and extensions
114114
# https://github.com/shivammathur/setup-php
115115
uses: shivammathur/setup-php@v2
116116
with:
117117
php-version: ${{ matrix.php-versions }}
118-
extensions: ctype, date, dom, filter, hash, mbstring, openssl, pcre, soap, spl, xml, zip
118+
extensions: ctype, date, dom, filter, hash, intl, mbstring, openssl, pcre, soap, sodium, spl, xml, zip
119119
tools: composer
120120
ini-values: error_reporting=E_ALL
121121
coverage: none
@@ -163,7 +163,7 @@ jobs:
163163
# Should be the higest supported version, so we can use the newest tools
164164
php-version: '8.5'
165165
tools: composer, composer-require-checker, composer-unused
166-
extensions: ctype, date, dom, filter, hash, mbstring, openssl, pcre, soap, spl, xml
166+
extensions: ctype, date, dom, filter, hash, intl, mbstring, openssl, pcre, soap, sodium, spl, xml
167167
coverage: none
168168

169169
- name: Setup problem matchers for PHP
@@ -215,8 +215,8 @@ jobs:
215215
uses: shivammathur/setup-php@v2
216216
with:
217217
# Should be the lowest supported version
218-
php-version: '8.2'
219-
extensions: ctype, date, dom, filter, hash, mbstring, openssl, pcre, soap, spl, xml
218+
php-version: '8.3'
219+
extensions: ctype, date, dom, filter, hash, intl, mbstring, openssl, pcre, soap, sodium, spl, xml
220220
tools: composer
221221
coverage: none
222222

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010
],
1111
"require": {
12-
"php": "^8.2",
12+
"php": "^8.3",
1313
"ext-date": "*",
1414
"ext-dom": "*",
1515
"ext-filter": "*",
@@ -18,12 +18,12 @@
1818
"psr/clock": "~1.0",
1919
"psr/log": "~3.0",
2020
"simplesamlphp/assert": "~1.9",
21-
"simplesamlphp/xml-common": "~2.4",
22-
"simplesamlphp/xml-security": "~2.0"
21+
"simplesamlphp/xml-common": "~2.5",
22+
"simplesamlphp/xml-security": "~2.1"
2323
},
2424
"require-dev": {
2525
"beste/clock": "~3.0",
26-
"simplesamlphp/simplesamlphp-test-framework": "~1.10"
26+
"simplesamlphp/simplesamlphp-test-framework": "~1.11"
2727
},
2828
"autoload": {
2929
"psr-4": {

0 commit comments

Comments
 (0)