Skip to content

Commit af01c0b

Browse files
authored
Update Symfony dependencies to 7.4 along with sylius version bump (#390)
## Summary - Updates all Symfony component version constraints from `^7.1` to `^7.3` - Updates Symfony Flex requirement from `~7.2.0` to `~7.3.0` ## Changes - All `symfony/*` packages in `require` section: `^6.4 || ^7.1` → `^6.4 || ^7.3` - All `symfony/*` packages in `require-dev` section: `^6.4 || ^7.1` → `^6.4 || ^7.3` - Symfony Flex requirement: `~7.2.0` → `~7.3.0`
2 parents d0f52a8 + 8e21d79 commit af01c0b

File tree

3 files changed

+26
-25
lines changed

3 files changed

+26
-25
lines changed

.github/workflows/build.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
php: ["8.2", "8.3"]
31-
symfony: ["^6.4", "~7.3.0"]
32-
sylius: ["~2.0.0", "~2.1.0"]
31+
symfony: ["^6.4", "~7.4.0"]
32+
sylius: ["~2.1.0", "~2.2.0"]
3333
node: ["22.x"]
3434
database: ["mysql"]
3535
database_version: ["8.4"]
@@ -39,8 +39,8 @@ jobs:
3939
include:
4040
-
4141
php: "8.3"
42-
symfony: "~7.3.0"
43-
sylius: "~2.1.0"
42+
symfony: "~7.4.0"
43+
sylius: "~2.2.0"
4444
node: "24.x"
4545
database: "mysql"
4646
database_version: "8.4"
@@ -49,8 +49,8 @@ jobs:
4949

5050
-
5151
php: "8.3"
52-
symfony: "~7.3.0"
53-
sylius: "~2.1.0"
52+
symfony: "~7.4.0"
53+
sylius: "~2.2.0"
5454
node: "24.x"
5555
database: "mysql"
5656
database_version: "8.4"
@@ -59,8 +59,8 @@ jobs:
5959

6060
-
6161
php: "8.3"
62-
symfony: "~7.3.0"
63-
sylius: "~2.1.0"
62+
symfony: "~7.4.0"
63+
sylius: "~2.2.0"
6464
node: "24.x"
6565
database: "postgres"
6666
database_version: "15.8"

composer.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
"sylius/grid-bundle": "^1.13",
1212
"sylius/resource-bundle": "^1.12",
1313
"sylius/sylius": "^2.0",
14-
"symfony/clock": "^6.4 || ^7.1",
15-
"symfony/config": "^6.4 || ^7.1",
16-
"symfony/console": "^6.4 || ^7.1",
17-
"symfony/dependency-injection": "^6.4 || ^7.1",
18-
"symfony/form": "^6.4 || ^7.1",
19-
"symfony/framework-bundle": "^6.4 || ^7.1",
20-
"symfony/http-foundation": "^6.4 || ^7.1",
21-
"symfony/http-kernel": "^6.4 || ^7.1",
22-
"symfony/messenger": "^6.4 || ^7.1",
23-
"symfony/options-resolver": "^6.4 || ^7.1",
24-
"symfony/routing": "^6.4 || ^7.1"
14+
"symfony/clock": "^6.4 || ^7.4",
15+
"symfony/config": "^6.4 || ^7.4",
16+
"symfony/console": "^6.4 || ^7.4",
17+
"symfony/dependency-injection": "^6.4 || ^7.4",
18+
"symfony/form": "^6.4 || ^7.4",
19+
"symfony/framework-bundle": "^6.4 || ^7.4",
20+
"symfony/http-foundation": "^6.4 || ^7.4",
21+
"symfony/http-kernel": "^6.4 || ^7.4",
22+
"symfony/messenger": "^6.4 || ^7.4",
23+
"symfony/options-resolver": "^6.4 || ^7.4",
24+
"symfony/routing": "^6.4 || ^7.4"
2525
},
2626
"require-dev": {
2727
"behat/behat": "^3.14",
@@ -46,12 +46,12 @@
4646
"polishsymfonycommunity/symfony-mocker-container": "^1.0",
4747
"sylius-labs/coding-standard": "^4.4",
4848
"sylius/test-application": "^2.0.0@alpha",
49-
"symfony/browser-kit": "^6.4 || ^7.1",
50-
"symfony/debug-bundle": "^6.4 || ^7.1",
51-
"symfony/dotenv": "^6.4 || ^7.1",
52-
"symfony/intl": "^6.4 || ^7.1",
49+
"symfony/browser-kit": "^6.4 || ^7.4",
50+
"symfony/debug-bundle": "^6.4 || ^7.4",
51+
"symfony/dotenv": "^6.4 || ^7.4",
52+
"symfony/intl": "^6.4 || ^7.4",
5353
"symfony/webpack-encore-bundle": "^2.2",
54-
"symfony/web-profiler-bundle": "^6.4 || ^7.1"
54+
"symfony/web-profiler-bundle": "^6.4 || ^7.4"
5555
},
5656
"autoload": {
5757
"psr-4": {
@@ -89,7 +89,7 @@
8989
"extra": {
9090
"symfony": {
9191
"allow-contrib": false,
92-
"require": "~7.2.0"
92+
"require": "~7.4.0"
9393
},
9494
"branch-alias": {
9595
"dev-2.0": "2.0-dev"

phpstan.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ parameters:
1212
ignoreErrors:
1313
- identifier: missingType.generics
1414
- identifier: missingType.iterableValue
15+
- '/Call to method \w+\(\) on an unknown class Symfony\\Component\\Config\\Definition\\Builder\\NodeBuilder/'
1516
- '/Method Sylius\\InvoicingPlugin\\Entity\\\w+::id\(\) has no return type specified\./'
1617
- '/Method Sylius\\InvoicingPlugin\\Entity\\\w+::getId\(\) has no return type specified\./'
1718
- '/Method Sylius\\InvoicingPlugin\\[a-zA-Z\\]+::getFlashBag\(\) should return Symfony\\Component\\HttpFoundation\\Session\\Flash\\FlashBagInterface but returns Symfony\\Component\\HttpFoundation\\Session\\SessionBagInterface\./'

0 commit comments

Comments
 (0)