Skip to content

Commit a4d0bcf

Browse files
committed
Bump dependencies
1 parent 408a249 commit a4d0bcf

2 files changed

Lines changed: 29 additions & 25 deletions

File tree

.github/workflows/php.yml

Lines changed: 18 additions & 14 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.1', '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.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
@@ -46,15 +46,16 @@ jobs:
4646
fail-fast: false
4747
matrix:
4848
operating-system: [ubuntu-latest]
49-
php-versions: ['8.1', '8.2', '8.3', '8.4']
49+
php-versions: ['8.3', '8.4', '8.5']
5050

5151
steps:
5252
- name: Setup PHP, with composer and extensions
5353
# https://github.com/shivammathur/setup-php
5454
uses: shivammathur/setup-php@v2
5555
with:
5656
php-version: ${{ matrix.php-versions }}
57-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, spl, xml
57+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix,
58+
session, sodium, spl, xml
5859
tools: composer
5960
ini-values: error_reporting=E_ALL
6061
coverage: pcov
@@ -86,15 +87,15 @@ jobs:
8687
run: composer install --no-progress --prefer-dist --optimize-autoloader
8788

8889
- name: Run unit tests with coverage
89-
if: ${{ matrix.php-versions == '8.4' }}
90+
if: ${{ matrix.php-versions == '8.5' }}
9091
run: vendor/bin/phpunit
9192

9293
- name: Run unit tests (no coverage)
93-
if: ${{ matrix.php-versions != '8.4' }}
94+
if: ${{ matrix.php-versions != '8.5' }}
9495
run: vendor/bin/phpunit --no-coverage
9596

9697
- name: Save coverage data
97-
if: ${{ matrix.php-versions == '8.4' }}
98+
if: ${{ matrix.php-versions == '8.5' }}
9899
uses: actions/upload-artifact@v7
99100
with:
100101
name: coverage-data
@@ -109,15 +110,16 @@ jobs:
109110
fail-fast: true
110111
matrix:
111112
operating-system: [windows-latest]
112-
php-versions: ['8.1', '8.2', '8.3', '8.4']
113+
php-versions: ['8.3', '8.4', '8.5']
113114

114115
steps:
115116
- name: Setup PHP, with composer and extensions
116117
# https://github.com/shivammathur/setup-php
117118
uses: shivammathur/setup-php@v2
118119
with:
119120
php-version: ${{ matrix.php-versions }}
120-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, spl, xml, zip
121+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix,\
122+
session, sodium, spl, xml, zip
121123
tools: composer
122124
ini-values: error_reporting=E_ALL
123125
coverage: none
@@ -163,9 +165,10 @@ jobs:
163165
uses: shivammathur/setup-php@v2
164166
with:
165167
# Should be the higest supported version, so we can use the newest tools
166-
php-version: '8.4'
168+
php-version: '8.5'
167169
tools: composer, composer-require-checker, composer-unused, phpcs, phpstan
168-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, spl, xml
170+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix,\
171+
session, sodium, spl, xml
169172

170173
- name: Setup problem matchers for PHP
171174
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
@@ -216,8 +219,9 @@ jobs:
216219
uses: shivammathur/setup-php@v2
217220
with:
218221
# Should be the lowest supported version
219-
php-version: '8.1'
220-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, spl, xml
222+
php-version: '8.3'
223+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix,\
224+
session, sodium, spl, xml
221225
tools: composer
222226
coverage: none
223227

composer.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,21 @@
3434
}
3535
},
3636
"require": {
37-
"php": "^8.1",
37+
"php": "^8.3",
3838

3939
"nyholm/psr7": "~1.8.2",
40-
"simplesamlphp/assert": "~1.9.0",
41-
"simplesamlphp/saml2": "~5.0.3",
42-
"simplesamlphp/simplesamlphp": "~2.4.0",
43-
"simplesamlphp/xml-common": "~1.25.0",
44-
"simplesamlphp/xml-security": "~1.13.0",
45-
"symfony/http-foundation": "~6.4.0",
46-
"symfony/psr-http-message-bridge": "~6.4.0"
40+
"simplesamlphp/assert": "~2.0",
41+
"simplesamlphp/saml2": "~6.1",
42+
"simplesamlphp/simplesamlphp": "~2.5@dev",
43+
"simplesamlphp/xml-common": "~2.7",
44+
"simplesamlphp/xml-security": "~2.3",
45+
"symfony/http-foundation": "~7.4",
46+
"symfony/psr-http-message-bridge": "~7.4"
4747
},
4848
"require-dev": {
49-
"beste/clock": "~3.0.0",
50-
"mockery/mockery": "~1.6.12",
51-
"simplesamlphp/simplesamlphp-test-framework": "~1.9.3"
49+
"beste/clock": "~3.0",
50+
"mockery/mockery": "~1.6",
51+
"simplesamlphp/simplesamlphp-test-framework": "~1.11"
5252
},
5353
"support": {
5454
"issues": "https://github.com/simplesamlphp/simplesamlphp-module-exampleattributeserver/issues",

0 commit comments

Comments
 (0)