Skip to content

Commit fbc5ecb

Browse files
committed
Bump dependencies & minimum PHP version
1 parent 770dc08 commit fbc5ecb

2 files changed

Lines changed: 18 additions & 18 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.11.0
24+
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.11.1
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.11.0
33+
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_linter.yml@v1.11.1
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, fileinfo, filter, hash, intl, mbstring, openssl, pcre, spl, xml
56+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, sodium, spl, xml
5757
tools: composer
5858
ini-values: error_reporting=E_ALL
5959
coverage: pcov
@@ -108,15 +108,15 @@ jobs:
108108
fail-fast: true
109109
matrix:
110110
operating-system: [windows-latest]
111-
php-versions: ['8.2', '8.3', '8.4', '8.5']
111+
php-versions: ['8.3', '8.4', '8.5']
112112

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

169169
- name: Setup problem matchers for PHP
170170
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
@@ -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, fileinfo, filter, hash, intl, mbstring, openssl, pcre, spl, xml
218+
php-version: '8.3'
219+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, sodium, spl, xml
220220
tools: composer
221221
coverage: none
222222

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@
3434
}
3535
},
3636
"require": {
37-
"php": "^8.2",
37+
"php": "^8.3",
3838
"ext-libxml": "*",
3939

40-
"simplesamlphp/assert": "^1.8",
41-
"simplesamlphp/composer-module-installer": "^1.4",
42-
"simplesamlphp/simplesamlphp": "~2.4.0",
43-
"simplesamlphp/xml-common": "~2.0",
44-
"symfony/http-foundation": "~6.4",
45-
"symfony/var-exporter": "~6.4"
40+
"simplesamlphp/assert": "^2.0",
41+
"simplesamlphp/composer-module-installer": "^1.7",
42+
"simplesamlphp/simplesamlphp": "~2.5@dev",
43+
"simplesamlphp/xml-common": "~2.7",
44+
"symfony/http-foundation": "~7.4",
45+
"symfony/var-exporter": "~7.4"
4646
},
4747
"require-dev": {
48-
"simplesamlphp/simplesamlphp-test-framework": "~1.10"
48+
"simplesamlphp/simplesamlphp-test-framework": "~1.11"
4949
},
5050
"support": {
5151
"issues": "https://github.com/simplesamlphp/simplesamlphp-module-metarefresh/issues",

0 commit comments

Comments
 (0)