Skip to content

Commit 9d4c4b4

Browse files
Add support for Symfony 8, require at least PHP 8.1 and add PHP 8.5 to CI (#48)
1 parent 9b3eb5b commit 9d4c4b4

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
- name: Checkout
2626
uses: actions/checkout@v2
27-
27+
2828
- name: Run the CS fixer
2929
run: php-cs-fixer fix
3030

@@ -35,7 +35,7 @@ jobs:
3535
strategy:
3636
fail-fast: false
3737
matrix:
38-
php: ['8.0', '8.1', '8.2', '8.3']
38+
php: ['8.1', '8.2', '8.3', '8.4', '8.5', '8.6']
3939
steps:
4040
- name: Setup PHP
4141
uses: shivammathur/setup-php@v2
@@ -47,6 +47,10 @@ jobs:
4747
- name: Checkout
4848
uses: actions/checkout@v2
4949

50+
- name: Set composer stability
51+
if: ${{ matrix.php == '8.6' }}
52+
run: composer config minimum-stability dev
53+
5054
- name: Install the dependencies
5155
run: composer install --no-interaction --no-suggest
5256

@@ -60,7 +64,7 @@ jobs:
6064
strategy:
6165
fail-fast: false
6266
matrix:
63-
php: ['8.0', '8.1', '8.2', '8.3']
67+
php: ['8.1', '8.2', '8.3', '8.4', '8.5', '8.6']
6468
steps:
6569
- name: Setup PHP
6670
uses: shivammathur/setup-php@v2

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^8.0",
14-
"symfony/lock": "^6.0 || ^7.0",
15-
"symfony/cache": "^6.0 || ^7.0",
16-
"symfony/http-foundation": "^6.0 || ^7.0",
17-
"symfony/http-kernel": "^6.0 || ^7.0",
18-
"symfony/options-resolver": "^6.0 || ^7.0"
13+
"php": "^8.1",
14+
"symfony/lock": "^6.0 || ^7.0 || ^8.0",
15+
"symfony/cache": "^6.0 || ^7.0 || ^8.0",
16+
"symfony/http-foundation": "^6.0 || ^7.0 || ^8.0",
17+
"symfony/http-kernel": "^6.0 || ^7.0 || ^8.0",
18+
"symfony/options-resolver": "^6.0 || ^7.0 || ^8.0"
1919
},
2020
"require-dev": {
21-
"symfony/phpunit-bridge": "^6.0 || ^7.0"
21+
"symfony/phpunit-bridge": "^7.4 || ^8.0"
2222
},
2323
"autoload": {
2424
"psr-4": {

0 commit comments

Comments
 (0)