Skip to content

Commit 3e20176

Browse files
committed
improve dependencies declaration
1 parent 77f7f41 commit 3e20176

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/build.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ jobs:
4646
symfony: 5.4.*
4747
- description: 'Symfony 7'
4848
php: '8.2'
49-
symfony: ^7.0
49+
symfony: ^7.2
5050
dev: true
5151
- description: 'Dev deps'
52-
php: '8.3'
52+
php: '8.4'
5353
dev: true
5454
name: PHP ${{ matrix.php }} tests (${{ matrix.description }})
5555
steps:
@@ -64,10 +64,10 @@ jobs:
6464
uses: shivammathur/setup-php@v2
6565
with:
6666
php-version: ${{ matrix.php }}
67-
- run: |
68-
sed -ri 's/"symfony\/(expression-language|framework-bundle|templating)": "(.+)"/"symfony\/\1": "'${{ matrix.symfony }}'"/' composer.json;
69-
if: matrix.symfony
67+
tools: flex
7068
- run: composer config minimum-stability dev
7169
if: matrix.dev
7270
- run: composer update --no-interaction --no-progress --ansi ${{ matrix.composer_option }}
71+
env:
72+
SYMFONY_REQUIRE: ${{ matrix.symfony }}
7373
- run: vendor/bin/phpunit

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@
2121
"require": {
2222
"php": "^8.1",
2323
"knplabs/knp-menu": "^3.6",
24+
"symfony/config": "^5.4 | ^6.0 | ^7.0",
25+
"symfony/dependency-injection": "^5.4 | ^6.0 | ^7.0",
2426
"symfony/deprecation-contracts": "^2.5 | ^3.3",
25-
"symfony/framework-bundle": "^5.4 | ^6.0 | ^7.0"
27+
"symfony/http-kernel": "^5.4 | ^6.0 | ^7.0"
2628
},
2729
"require-dev": {
28-
"phpunit/phpunit": "^10.5 | ^11.0.3",
30+
"phpunit/phpunit": "^10.5 | ^11.5 | ^12.1",
2931
"symfony/expression-language": "^5.4 | ^6.0 | ^7.0",
3032
"symfony/phpunit-bridge": "^6.0 | ^7.0",
3133
"symfony/templating": "^5.4 | ^6.0 | ^7.0"

0 commit comments

Comments
 (0)