Skip to content

Commit be6b232

Browse files
committed
Bump minimum PHP-version to 8.3, start testing on PHP 8.5 and bump dependencies
1 parent ca892e3 commit be6b232

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
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
@@ -108,7 +108,7 @@ jobs:
108108
fail-fast: true
109109
matrix:
110110
operating-system: [windows-latest]
111-
php-versions: ['8.1', '8.2', '8.3', '8.4']
111+
php-versions: ['8.3', '8.4', '8.5']
112112

113113
steps:
114114
- name: Setup PHP, with composer and extensions
@@ -162,7 +162,7 @@ jobs:
162162
uses: shivammathur/setup-php@v2
163163
with:
164164
# Should be the higest supported version, so we can use the newest tools
165-
php-version: '8.4'
165+
php-version: '8.5'
166166
tools: composer, composer-require-checker, composer-unused, phpcs, psalm
167167
# optional performance gain for psalm: opcache
168168
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, opcache, openssl, pcre, posix, spl, xml
@@ -216,7 +216,7 @@ jobs:
216216
uses: shivammathur/setup-php@v2
217217
with:
218218
# Should be the lowest supported version
219-
php-version: '8.1'
219+
php-version: '8.3'
220220
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, spl, xml, zip
221221
tools: composer
222222
coverage: none

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@
3535
}
3636
},
3737
"require": {
38-
"php": "^8.2",
38+
"php": "^8.3",
3939

4040
"simplesamlphp/assert": "~1.9",
41-
"simplesamlphp/simplesamlphp": "^2.5",
41+
"simplesamlphp/simplesamlphp": "^2.5@dev",
4242
"symfony/http-foundation": "^7.4"
4343
},
4444
"require-dev": {
45-
"simplesamlphp/simplesamlphp-test-framework": "^1.10"
45+
"simplesamlphp/simplesamlphp-test-framework": "^1.11"
4646
},
4747
"support": {
4848
"issues": "https://github.com/simplesamlphp/simplesamlphp-module-authorize/issues",

0 commit comments

Comments
 (0)