Skip to content

Commit 80aedd0

Browse files
committed
Bump minimum PHP-version to 8.3, start testing on PHP 8.5 and bump dependencies
1 parent 0a49ca5 commit 80aedd0

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/php.yml

Lines changed: 8 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.1', '8.2', '8.3', '8.4']
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:
@@ -46,7 +46,7 @@ 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
@@ -86,15 +86,15 @@ jobs:
8686
run: composer install --no-progress --prefer-dist --optimize-autoloader
8787

8888
- name: Run unit tests with coverage
89-
if: ${{ matrix.php-versions == '8.4' }}
89+
if: ${{ matrix.php-versions == '8.5' }}
9090
run: vendor/bin/phpunit
9191

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

9696
- name: Save coverage data
97-
if: ${{ matrix.php-versions == '8.4' }}
97+
if: ${{ matrix.php-versions == '8.5' }}
9898
uses: actions/upload-artifact@v6
9999
with:
100100
name: coverage-data
@@ -109,7 +109,7 @@ jobs:
109109
fail-fast: true
110110
matrix:
111111
operating-system: [windows-latest]
112-
php-versions: ['8.1', '8.2', '8.3', '8.4']
112+
php-versions: ['8.3', '8.4', '8.5']
113113

114114
steps:
115115
- name: Setup PHP, with composer and extensions
@@ -164,7 +164,7 @@ jobs:
164164
uses: shivammathur/setup-php@v2
165165
with:
166166
# Should be the higest supported version, so we can use the newest tools
167-
php-version: '8.4'
167+
php-version: '8.5'
168168
tools: composer, composer-require-checker, composer-unused, phpcs, psalm
169169
# optional performance gain for psalm: opcache
170170
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, opcache, openssl, pcre, posix, spl, xml
@@ -220,7 +220,7 @@ jobs:
220220
uses: shivammathur/setup-php@v2
221221
with:
222222
# Should be the lowest supported version
223-
php-version: '8.1'
223+
php-version: '8.3'
224224
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, spl, xml
225225
tools: composer
226226
coverage: none

composer.json

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

39-
"simplesamlphp/assert": "^1.6.0",
40-
"simplesamlphp/simplesamlphp": "^2.4.0",
41-
"simplesamlphp/simplesamlphp-assets-jquery": "^2.3.0",
42-
"simplesamlphp/composer-module-installer": "^1.3.5",
43-
"symfony/http-foundation": "^6.4.0"
39+
"simplesamlphp/assert": "~2.0",
40+
"simplesamlphp/simplesamlphp": "~2.5@dev",
41+
"simplesamlphp/simplesamlphp-assets-jquery": "~2.5",
42+
"simplesamlphp/composer-module-installer": "~1.7",
43+
"symfony/http-foundation": "^7.4"
4444
},
4545
"require-dev": {
46-
"simplesamlphp/simplesamlphp-test-framework": "^1.7.0"
46+
"simplesamlphp/simplesamlphp-test-framework": "~1.11"
4747
},
4848
"support": {
4949
"issues": "https://github.com/simplesamlphp/simplesamlphp-module-discopower/issues",

0 commit comments

Comments
 (0)