Skip to content

Commit a8ad002

Browse files
committed
Bump minimum PHP-version to 8.1 and Symfony to 6.4
1 parent b1fa8c1 commit a8ad002

5 files changed

Lines changed: 744 additions & 939 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: shivammathur/setup-php@v2
2525
with:
2626
# Should match the minimum required version for SimpleSAMLphp
27-
php-version: '8.0'
27+
php-version: '8.1'
2828
tools: composer:v2, phive
2929
extensions: mbstring, xml
3030
coverage: none

.github/workflows/php.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
uses: shivammathur/setup-php@v2
4848
with:
4949
# Should be the higest supported version, so we can use the newest tools
50-
php-version: '8.2'
50+
php-version: '8.3'
5151
tools: composer, composer-require-checker, composer-unused, phpcs, psalm
5252
# optional performance gain for psalm: opcache
5353
extensions: ctype, date, dom, fileinfo, filter, hash, json, mbstring, mysql, \
@@ -124,7 +124,7 @@ jobs:
124124
uses: shivammathur/setup-php@v2
125125
with:
126126
# Should be the lowest supported version
127-
php-version: '8.0'
127+
php-version: '8.1'
128128
extensions: ctype, date, dom, hash, fileinfo, filter, json, mbstring, mysql, \
129129
openssl, pcre, pdo, pdo_sqlite, posix, soap, spl, xml
130130
tools: composer
@@ -165,7 +165,7 @@ jobs:
165165
fail-fast: false
166166
matrix:
167167
operating-system: [ubuntu-latest]
168-
php-versions: ['8.0', '8.1', '8.2']
168+
php-versions: ['8.1', '8.2', '8.3']
169169

170170
steps:
171171
- name: Setup PHP, with composer and extensions
@@ -206,15 +206,15 @@ jobs:
206206
run: composer install --no-progress --prefer-dist --optimize-autoloader
207207

208208
- name: Run unit tests with coverage
209-
if: ${{ matrix.php-versions == '8.1' }}
209+
if: ${{ matrix.php-versions == '8.3' }}
210210
run: vendor/bin/phpunit
211211

212212
- name: Run unit tests (no coverage)
213-
if: ${{ matrix.php-versions != '8.1' }}
213+
if: ${{ matrix.php-versions != '8.3' }}
214214
run: vendor/bin/phpunit --no-coverage
215215

216216
- name: Save coverage data
217-
if: ${{ matrix.php-versions == '8.1' }}
217+
if: ${{ matrix.php-versions == '8.3' }}
218218
uses: actions/upload-artifact@v3
219219
with:
220220
name: coverage-data
@@ -228,7 +228,7 @@ jobs:
228228
fail-fast: true
229229
matrix:
230230
operating-system: [windows-latest]
231-
php-versions: ['8.0', '8.1', '8.2']
231+
php-versions: ['8.1', '8.2', '8.3']
232232

233233
steps:
234234
- name: Setup PHP, with composer and extensions

composer.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"files": ["tests/_autoload_modules.php"]
4545
},
4646
"require": {
47-
"php": "^8.0",
47+
"php": "^8.1",
4848
"ext-date": "*",
4949
"ext-dom": "*",
5050
"ext-fileinfo": "*",
@@ -69,40 +69,40 @@
6969
"psr/log": "^3.0",
7070
"robrichards/xmlseclibs": "^3.1.1",
7171
"simplesamlphp/assert": "^1.0.0",
72+
"simplesamlphp/composer-module-installer": "^1.3",
7273
"simplesamlphp/saml2": "v5.0.0-alpha.13",
7374
"simplesamlphp/saml2-legacy": "^4.6",
74-
"simplesamlphp/simplesamlphp-assets-base": "^2.0.0",
75+
"simplesamlphp/simplesamlphp-assets-base": "^2.1.5",
7576
"simplesamlphp/simplesamlphp-module-adfs": "^2.1",
7677
"simplesamlphp/xml-common": "^1.12",
77-
"symfony/cache": "^6.0",
78-
"symfony/config": "^6.0",
79-
"symfony/console": "^6.0",
80-
"symfony/dependency-injection": "^6.0",
81-
"symfony/filesystem": "^6.0",
82-
"symfony/finder": "^6.0",
83-
"symfony/framework-bundle": "^6.0",
84-
"symfony/http-foundation": "^6.0",
85-
"symfony/http-kernel": "^6.0",
86-
"symfony/intl": "^6.0",
78+
"symfony/cache": "^6.4",
79+
"symfony/config": "^6.4",
80+
"symfony/console": "^6.4",
81+
"symfony/dependency-injection": "^6.4",
82+
"symfony/filesystem": "^6.4",
83+
"symfony/finder": "^6.4",
84+
"symfony/framework-bundle": "^6.4",
85+
"symfony/http-foundation": "^6.4",
86+
"symfony/http-kernel": "^6.4",
87+
"symfony/intl": "^6.4",
8788
"symfony/polyfill-intl-icu": "^1.28",
8889
"symfony/psr-http-message-bridge": "^2.3",
89-
"symfony/routing": "^6.0",
90+
"symfony/routing": "^6.4",
9091
"symfony/translation-contracts": "^3.0",
91-
"tvdijen/twig-bridge": "^6.0",
92-
"symfony/var-exporter": "^6.0",
93-
"symfony/yaml": "^6.0",
94-
"twig/intl-extra": "^3.3",
95-
"twig/twig": "^3.3.8"
92+
"symfony/twig-bridge": "^6.4",
93+
"symfony/var-exporter": "^6.4",
94+
"twig/intl-extra": "^3.7",
95+
"twig/twig": "^3.5"
9696
},
9797
"require-dev": {
9898
"ext-curl": "*",
9999
"ext-pdo_sqlite": "*",
100100

101101
"gettext/php-scanner": "1.3.1",
102102
"mikey179/vfsstream": "~1.6",
103-
"simplesamlphp/simplesamlphp-test-framework": "^1.5.1",
103+
"simplesamlphp/simplesamlphp-test-framework": "^1.5.4",
104104
"simplesamlphp/xml-security": "^1.6.12",
105-
"symfony/translation": "^6.0"
105+
"symfony/translation": "^6.4"
106106
},
107107
"suggest": {
108108
"predis/predis": "Needed if a Redis server is used to store session information",

0 commit comments

Comments
 (0)