Skip to content

Commit 001b4bc

Browse files
committed
Bump dependencies
1 parent 012cc5c commit 001b4bc

2 files changed

Lines changed: 24 additions & 20 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
@@ -45,15 +45,16 @@ jobs:
4545
fail-fast: false
4646
matrix:
4747
operating-system: [ubuntu-latest]
48-
php-versions: ['8.1', '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
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, spl, xml
56+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix,\
57+
session, sodium, spl, xml
5758
tools: composer
5859
ini-values: error_reporting=E_ALL
5960
coverage: pcov
@@ -85,15 +86,15 @@ jobs:
8586
run: composer install --no-progress --prefer-dist --optimize-autoloader
8687

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

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

9596
- name: Save coverage data
96-
if: ${{ matrix.php-versions == '8.4' }}
97+
if: ${{ matrix.php-versions == '8.5' }}
9798
uses: actions/upload-artifact@v7
9899
with:
99100
name: coverage-data
@@ -107,15 +108,16 @@ jobs:
107108
fail-fast: true
108109
matrix:
109110
operating-system: [windows-latest]
110-
php-versions: ['8.1', '8.2', '8.3', '8.4']
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, posix, spl, xml, zip
119+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix,\
120+
session, sodium, spl, xml, zip
119121
tools: composer
120122
ini-values: error_reporting=E_ALL
121123
coverage: none
@@ -160,10 +162,11 @@ jobs:
160162
uses: shivammathur/setup-php@v2
161163
with:
162164
# Should be the higest supported version, so we can use the newest tools
163-
php-version: '8.4'
165+
php-version: '8.5'
164166
tools: composer, composer-require-checker, composer-unused, phpcs, psalm
165167
# optional performance gain for psalm: opcache
166-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, opcache, openssl, pcre, posix, spl, xml
168+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, opcache, openssl, pcre, posix,\
169+
session, sodium, spl, xml
167170

168171
- name: Setup problem matchers for PHP
169172
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
@@ -226,8 +229,9 @@ jobs:
226229
uses: shivammathur/setup-php@v2
227230
with:
228231
# Should be the lowest supported version
229-
php-version: '8.1'
230-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, spl, xml
232+
php-version: '8.3'
233+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix,\
234+
session, sodium, spl, xml
231235
tools: composer
232236
coverage: none
233237

composer.json

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

39-
"simplesamlphp/assert": "^1.8",
40-
"simplesamlphp/composer-module-installer": "^1.4",
41-
"simplesamlphp/simplesamlphp": "^2.4",
42-
"symfony/http-foundation": "^6.4"
39+
"simplesamlphp/assert": "^2.0",
40+
"simplesamlphp/composer-module-installer": "^1.7",
41+
"simplesamlphp/simplesamlphp": "^2.5@dev",
42+
"symfony/http-foundation": "^7.4"
4343
},
4444
"require-dev": {
45-
"simplesamlphp/simplesamlphp-test-framework": "^1.9"
45+
"simplesamlphp/simplesamlphp-test-framework": "^1.11"
4646
},
4747
"support": {
4848
"issues": "https://github.com/simplesamlphp/simplesamlphp-module-expirycheck/issues",

0 commit comments

Comments
 (0)