Skip to content

Commit cc90af1

Browse files
committed
Add Symfony 8 support
1 parent 3ed86d7 commit cc90af1

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
include:
2727
- php-version: '8.1'
2828
symfony-version: '6.4.*'
29+
- php-version: '8.4'
30+
symfony-version: '8.0.*'
31+
composer-minimum-stability: dev
2932
steps:
3033
- name: Checkout
3134
uses: actions/checkout@v3
@@ -42,6 +45,10 @@ jobs:
4245
- name: Lock Symfony version
4346
run: VERSION=${{ matrix.symfony-version }} .github/workflows/lock-symfony-version.sh
4447

48+
- name: Configure Composer minimum stability
49+
if: matrix.composer-minimum-stability != ''
50+
run: composer config minimum-stability ${{ matrix.composer-minimum-stability }}
51+
4552
- name: Install dependencies
4653
run: |
4754
composer config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"require": {
1414
"php": "^8.1",
1515
"behat/behat": "^3.22",
16-
"symfony/dependency-injection": "^6.4 || ^7.0",
17-
"symfony/http-kernel": "^6.4 || ^7.0"
16+
"symfony/dependency-injection": "^6.4 || ^7.0 || ^8.0",
17+
"symfony/http-kernel": "^6.4 || ^7.0 || ^8.0"
1818
},
1919
"require-dev": {
2020
"behat/mink-browserkit-driver": "^2.0",
@@ -24,10 +24,10 @@
2424
"friends-of-behat/page-object-extension": "^0.3.2",
2525
"friends-of-behat/service-container-extension": "^1.1",
2626
"sylius-labs/coding-standard": ">=4.1.1, <=4.2.1",
27-
"symfony/browser-kit": "^6.4 || ^7.0",
28-
"symfony/framework-bundle": "^6.4 || ^7.0",
29-
"symfony/process": "^6.4 || ^7.0",
30-
"symfony/yaml": "^6.4 || ^7.0",
27+
"symfony/browser-kit": "^6.4 || ^7.0 || ^8.0",
28+
"symfony/framework-bundle": "^6.4 || ^7.0 || ^8.0",
29+
"symfony/process": "^6.4 || ^7.0 || ^8.0",
30+
"symfony/yaml": "^6.4 || ^7.0 || ^8.0",
3131
"vimeo/psalm": "^6.0"
3232
},
3333
"suggest": {

0 commit comments

Comments
 (0)