Skip to content

Commit c61f843

Browse files
committed
Fix CI
1 parent fb6c6f1 commit c61f843

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/php.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
php-version: ['8.1', '8.2', '8.3', '8.4']
21+
php-version: ['8.3', '8.4', '8.5']
2222

2323
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.11.0
2424
with:
@@ -45,7 +45,7 @@ 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
@@ -85,15 +85,15 @@ jobs:
8585
run: composer install --no-progress --prefer-dist --optimize-autoloader
8686

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

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

9595
- name: Save coverage data
96-
if: ${{ matrix.php-versions == '8.4' }}
96+
if: ${{ matrix.php-versions == '8.5' }}
9797
uses: actions/upload-artifact@v6
9898
with:
9999
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
@@ -161,7 +161,7 @@ jobs:
161161
uses: shivammathur/setup-php@v2
162162
with:
163163
# Should be the higest supported version, so we can use the newest tools
164-
php-version: '8.4'
164+
php-version: '8.5'
165165
tools: composer, composer-require-checker, composer-unused, phpcs
166166
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, spl, xml
167167

@@ -193,7 +193,7 @@ jobs:
193193
run: composer-unused
194194

195195
- name: PHP Code Sniffer
196-
run: phpcs
196+
run: vendor/bin/phpcs
197197

198198
- name: PHPStan
199199
run: |
@@ -214,7 +214,7 @@ jobs:
214214
uses: shivammathur/setup-php@v2
215215
with:
216216
# Should be the lowest supported version
217-
php-version: '8.1'
217+
php-version: '8.3'
218218
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, spl, xml
219219
tools: composer
220220
coverage: none

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,26 @@
2929
}
3030
},
3131
"require": {
32-
"php": "^8.1",
32+
"php": "^8.3",
3333
"ext-ctype": "*",
3434
"ext-dom": "*",
3535
"ext-filter": "*",
3636
"ext-libxml": "*",
3737
"ext-SimpleXML": "*",
3838
"ext-session": "*",
3939

40-
"simplesamlphp/assert": "~1.8",
41-
"simplesamlphp/composer-module-installer": "~1.4",
42-
"simplesamlphp/simplesamlphp": "~2.4",
40+
"simplesamlphp/assert": "^1.8",
41+
"simplesamlphp/composer-module-installer": "~1.5",
42+
"simplesamlphp/simplesamlphp": "~2.5@RC",
4343
"simplesamlphp/xml-cas": "~1.3",
4444
"simplesamlphp/xml-common": "~1.17",
4545
"simplesamlphp/xml-soap": "~1.5",
46-
"symfony/http-foundation": "~6.4",
47-
"symfony/http-kernel": "~6.4",
46+
"symfony/http-foundation": "^7.4",
47+
"symfony/http-kernel": "^7.4",
4848
"simplesamlphp/saml11": "~1.3"
4949
},
5050
"require-dev": {
51-
"simplesamlphp/simplesamlphp-test-framework": "~1.9"
51+
"simplesamlphp/simplesamlphp-test-framework": "^1.11"
5252
},
5353
"support": {
5454
"issues": "https://github.com/simplesamlphp/simplesamlphp-module-casserver/issues",

0 commit comments

Comments
 (0)