Skip to content

Commit

Permalink
Prepare Sylius for support Symfony 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamKasp committed Nov 29, 2021
1 parent fde65b8 commit 28a02a6
Show file tree
Hide file tree
Showing 34 changed files with 142 additions and 142 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
fail-fast: false
matrix:
php: ["8.0"]
symfony: ["^4.4", "5.3.*"]
symfony: ["^4.4", "5.4.0-RC1"]

steps:
-
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
strategy:
matrix:
php: ["8.0"]
symfony: ["5.3.*"]
symfony: ["5.4.0-RC1"]
postgres: ["13.3"]

env:
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
strategy:
matrix:
php: ["8.0"]
symfony: ["5.3.*"]
symfony: ["5.4.0-RC1"]
mariadb: ["10.4.10"]

env:
Expand Down Expand Up @@ -327,7 +327,7 @@ jobs:
fail-fast: false
matrix:
php: ["8.0"]
symfony: ["^4.4", "5.3.*"]
symfony: ["^4.4", "5.4.0-RC1"]
node: ["14.x"]
mysql: ["5.7", "8.0"]

Expand Down Expand Up @@ -458,7 +458,7 @@ jobs:
fail-fast: false
matrix:
php: ["8.0"]
symfony: ["^4.4", "5.3.*"]
symfony: ["^4.4", "5.4.0-RC1"]
node: ["14.x"]
mysql: ["5.7", "8.0"]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
fail-fast: false
matrix:
php: ["8.0"]
symfony: ["^4.4", "5.3.*"]
symfony: ["^4.4", "5.4.0-RC1"]
package: "${{ fromJson(needs.list.outputs.packages) }}"

steps:
Expand Down
72 changes: 36 additions & 36 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,46 +68,46 @@
"sylius/resource": "^1.7",
"sylius/resource-bundle": "^1.7",
"sylius/theme-bundle": "^2.1.1",
"symfony/asset": "^4.4 || ^5.3",
"symfony/config": "^4.4 || ^5.3",
"symfony/console": "^4.4 || ^5.3",
"symfony/dependency-injection": "^4.4 || ^5.3",
"symfony/doctrine-bridge": "^4.4 || ^5.3",
"symfony/event-dispatcher": "^4.4 || ^5.3",
"symfony/expression-language": "^4.4 || ^5.3",
"symfony/filesystem": "^4.4 || ^5.3",
"symfony/finder": "^4.4 || ^5.3",
"symfony/form": "^4.4 || ^5.3",
"symfony/framework-bundle": "^4.4 || ^5.3",
"symfony/http-foundation": "^4.4 || ^5.3",
"symfony/http-kernel": "^4.4 || ^5.3",
"symfony/intl": "^4.4 || ^5.3",
"symfony/messenger": "^4.4 || ^5.3",
"symfony/asset": "^4.4 || ^5.4.0-RC1",
"symfony/config": "^4.4 || ^5.4.0-RC1",
"symfony/console": "^4.4 || ^5.4.0-RC1",
"symfony/dependency-injection": "^4.4 || ^5.4.0-RC1",
"symfony/doctrine-bridge": "^4.4 || ^5.4.0-RC1",
"symfony/event-dispatcher": "^4.4 || ^5.4.0-RC1",
"symfony/expression-language": "^4.4 || ^5.4.0-RC1",
"symfony/filesystem": "^4.4 || ^5.4.0-RC1",
"symfony/finder": "^4.4 || ^5.4.0-RC1",
"symfony/form": "^4.4 || ^5.4.0-RC1",
"symfony/framework-bundle": "^4.4 || ^5.4.0-RC1",
"symfony/http-foundation": "^4.4 || ^5.4.0-RC1",
"symfony/http-kernel": "^4.4 || ^5.4.0-RC1",
"symfony/intl": "^4.4 || ^5.4.0-RC1",
"symfony/messenger": "^4.4 || ^5.4.0-RC1",
"symfony/monolog-bundle": "^3.5",
"symfony/options-resolver": "^4.4 || ^5.3",
"symfony/options-resolver": "^4.4 || ^5.4.0-RC1",
"symfony/polyfill-iconv": "^1.17",
"symfony/polyfill-intl-icu": "^1.22",
"symfony/polyfill-mbstring": "^1.17",
"symfony/polyfill-php80": "^1.17",
"symfony/process": "^4.4 || ^5.3",
"symfony/property-access": "^4.4 || ^5.3",
"symfony/property-info": "^4.4 || ^5.3",
"symfony/proxy-manager-bridge": "^4.4 || ^5.3",
"symfony/routing": "^4.4 || ^5.3",
"symfony/security-bundle": "^4.4 || ^5.3",
"symfony/security-core": "^4.4 || ^5.3",
"symfony/security-csrf": "^4.4 || ^5.3",
"symfony/security-guard": "^4.4 || ^5.3",
"symfony/security-http": "^4.4 || ^5.3",
"symfony/serializer": "^4.4 || ^5.3",
"symfony/process": "^4.4 || ^5.4.0-RC1",
"symfony/property-access": "^4.4 || ^5.4.0-RC1",
"symfony/property-info": "^4.4 || ^5.4.0-RC1",
"symfony/proxy-manager-bridge": "^4.4 || ^5.4.0-RC1",
"symfony/routing": "^4.4 || ^5.4.0-RC1",
"symfony/security-bundle": "^4.4 || ^5.4.0-RC1",
"symfony/security-core": "^4.4 || ^5.4.0-RC1",
"symfony/security-csrf": "^4.4 || ^5.4.0-RC1",
"symfony/security-guard": "^4.4 || ^5.4.0-RC1",
"symfony/security-http": "^4.4 || ^5.4.0-RC1",
"symfony/serializer": "^4.4 || ^5.4.0-RC1",
"symfony/string": "^5.3",
"symfony/swiftmailer-bundle": "^3.4",
"symfony/templating": "^4.4 || ^5.3",
"symfony/templating": "^4.4 || ^5.4.0-RC1",
"symfony/thanks": "^1.2",
"symfony/translation": "^4.4 || ^5.3",
"symfony/twig-bundle": "^4.4 || ^5.3",
"symfony/validator": "^4.4 || ^5.3",
"symfony/yaml": "^4.4 || ^5.3",
"symfony/translation": "^4.4 || ^5.4.0-RC1",
"symfony/twig-bundle": "^4.4 || ^5.4.0-RC1",
"symfony/validator": "^4.4 || ^5.4.0-RC1",
"symfony/yaml": "^4.4 || ^5.4.0-RC1",
"twig/intl-extra": "^2.12",
"twig/twig": "^2.12",
"webmozart/assert": "^1.9",
Expand Down Expand Up @@ -196,11 +196,11 @@
"rector/rector": "^0.11.52",
"stripe/stripe-php": "^6.43",
"sylius-labs/coding-standard": "^4.0",
"symfony/browser-kit": "^4.4 || ^5.3",
"symfony/debug-bundle": "^4.4 || ^5.3",
"symfony/dotenv": "^4.4 || ^5.3",
"symfony/browser-kit": "^4.4 || ^5.4.0-RC1",
"symfony/debug-bundle": "^4.4 || ^5.4.0-RC1",
"symfony/dotenv": "^4.4 || ^5.4.0-RC1",
"symfony/flex": "^1.7",
"symfony/web-profiler-bundle": "^4.4 || ^5.3",
"symfony/web-profiler-bundle": "^4.4 || ^5.4.0-RC1",
"vimeo/psalm": "4.7.2"
},
"suggest": {
Expand Down
12 changes: 6 additions & 6 deletions src/Sylius/Bundle/AddressingBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"stof/doctrine-extensions-bundle": "^1.4",
"sylius/addressing": "^1.6",
"sylius/resource-bundle": "^1.7",
"symfony/framework-bundle": "^4.4 || ^5.2",
"symfony/intl": "^4.4 || ^5.2"
"symfony/framework-bundle": "^4.4 || ^5.4.0-RC1",
"symfony/intl": "^4.4 || ^5.4.0-RC1"
},
"conflict": {
"twig/twig": "^1.0 || ^3.0"
Expand All @@ -41,10 +41,10 @@
"phpspec/phpspec": "^7.0",
"phpunit/phpunit": "^8.5",
"polishsymfonycommunity/symfony-mocker-container": "^1.0",
"symfony/browser-kit": "^4.4 || ^5.2",
"symfony/dependency-injection": "^4.4 || ^5.2",
"symfony/form": "^4.4 || ^5.2",
"symfony/validator": "^4.4 || ^5.2"
"symfony/browser-kit": "^4.4 || ^5.4.0-RC1",
"symfony/dependency-injection": "^4.4 || ^5.4.0-RC1",
"symfony/form": "^4.4 || ^5.4.0-RC1",
"symfony/validator": "^4.4 || ^5.4.0-RC1"
},
"config": {
"bin-dir": "bin"
Expand Down
4 changes: 2 additions & 2 deletions src/Sylius/Bundle/AdminBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
"php": "^8.0",
"sylius/core-bundle": "^1.6",
"sylius/ui-bundle": "^1.6",
"symfony/framework-bundle": "^4.4 || ^5.2",
"symfony/framework-bundle": "^4.4 || ^5.4.0-RC1",
"twig/intl-extra": "^2.12",
"twig/twig": "^2.12"
},
"require-dev": {
"phpspec/phpspec": "^7.0",
"phpunit/phpunit": "^8.5",
"symfony/dependency-injection": "^4.4 || ^5.2"
"symfony/dependency-injection": "^4.4 || ^5.4.0-RC1"
},
"config": {
"bin-dir": "bin"
Expand Down
8 changes: 4 additions & 4 deletions src/Sylius/Bundle/ApiBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@
"api-platform/core": "^2.6",
"lexik/jwt-authentication-bundle": "^2.6",
"sylius/core-bundle": "^1.7",
"symfony/messenger": "^4.4 || ^5.2"
"symfony/messenger": "^4.4 || ^5.4.0-RC1"
},
"require-dev": {
"matthiasnoback/symfony-config-test": "^4.2",
"matthiasnoback/symfony-dependency-injection-test": "^4.1",
"nelmio/alice": "^3.8",
"phpspec/phpspec": "^7.0",
"phpunit/phpunit": "^8.5",
"symfony/browser-kit": "^4.4 || ^5.2",
"symfony/debug-bundle": "^4.4 || ^5.2",
"symfony/dotenv": "^4.4 || ^5.2",
"symfony/browser-kit": "^4.4 || ^5.4.0-RC1",
"symfony/debug-bundle": "^4.4 || ^5.4.0-RC1",
"symfony/dotenv": "^4.4 || ^5.4.0-RC1",
"symfony/http-client": "^5.2",
"theofidry/alice-data-fixtures": "^1.4"
},
Expand Down
8 changes: 4 additions & 4 deletions src/Sylius/Bundle/AttributeBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
"stof/doctrine-extensions-bundle": "^1.4",
"sylius/attribute": "^1.6",
"sylius/resource-bundle": "^1.7",
"symfony/framework-bundle": "^4.4 || ^5.2"
"symfony/framework-bundle": "^4.4 || ^5.4.0-RC1"
},
"require-dev": {
"doctrine/orm": "^2.7",
"phpspec/phpspec": "^7.0",
"phpunit/phpunit": "^8.5",
"symfony/browser-kit": "^4.4 || ^5.2",
"symfony/dependency-injection": "^4.4 || ^5.2",
"symfony/form": "^4.4 || ^5.2"
"symfony/browser-kit": "^4.4 || ^5.4.0-RC1",
"symfony/dependency-injection": "^4.4 || ^5.4.0-RC1",
"symfony/form": "^4.4 || ^5.4.0-RC1"
},
"config": {
"bin-dir": "bin"
Expand Down
8 changes: 4 additions & 4 deletions src/Sylius/Bundle/ChannelBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@
"php": "^8.0",
"sylius/channel": "^1.6",
"sylius/resource-bundle": "^1.7",
"symfony/framework-bundle": "^4.4 || ^5.2"
"symfony/framework-bundle": "^4.4 || ^5.4.0-RC1"
},
"require-dev": {
"doctrine/orm": "^2.7",
"matthiasnoback/symfony-dependency-injection-test": "^4.1",
"phpspec/phpspec": "^7.0",
"phpunit/phpunit": "^8.5",
"polishsymfonycommunity/symfony-mocker-container": "^1.0",
"symfony/browser-kit": "^4.4 || ^5.2",
"symfony/dependency-injection": "^4.4 || ^5.2",
"symfony/form": "^4.4 || ^5.2",
"symfony/browser-kit": "^4.4 || ^5.4.0-RC1",
"symfony/dependency-injection": "^4.4 || ^5.4.0-RC1",
"symfony/form": "^4.4 || ^5.4.0-RC1",
"twig/twig": "^2.12"
},
"config": {
Expand Down
10 changes: 5 additions & 5 deletions src/Sylius/Bundle/CoreBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@
"sylius/theme-bundle": "^2.1.1",
"sylius/ui-bundle": "^1.6",
"sylius/user-bundle": "^1.6",
"symfony/framework-bundle": "^4.4 || ^5.2",
"symfony/intl": "^4.4 || ^5.2",
"symfony/messenger": "^4.4 || ^5.2",
"symfony/framework-bundle": "^4.4 || ^5.4.0-RC1",
"symfony/intl": "^4.4 || ^5.4.0-RC1",
"symfony/messenger": "^4.4 || ^5.4.0-RC1",
"symfony/swiftmailer-bundle": "^3.4",
"symfony/templating": "^4.4 || ^5.2",
"symfony/templating": "^4.4 || ^5.4.0-RC1",
"winzou/state-machine-bundle": "^0.5"
},
"require-dev": {
Expand All @@ -77,7 +77,7 @@
"matthiasnoback/symfony-dependency-injection-test": "^4.2",
"phpspec/phpspec": "^7.0",
"phpunit/phpunit": "^8.5",
"symfony/dependency-injection": "^4.4 || ^5.2"
"symfony/dependency-injection": "^4.4 || ^5.4.0-RC1"
},
"conflict": {
"symfony/doctrine-bridge": "4.4.20 || 5.2.4 || 5.2.5"
Expand Down
12 changes: 6 additions & 6 deletions src/Sylius/Bundle/CurrencyBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"php": "^8.0",
"sylius/currency": "^1.6",
"sylius/resource-bundle": "^1.7",
"symfony/framework-bundle": "^4.4 || ^5.2",
"symfony/intl": "^4.4 || ^5.2",
"symfony/templating": "^4.4 || ^5.2"
"symfony/framework-bundle": "^4.4 || ^5.4.0-RC1",
"symfony/intl": "^4.4 || ^5.4.0-RC1",
"symfony/templating": "^4.4 || ^5.4.0-RC1"
},
"conflict": {
"twig/twig": "^1.0"
Expand All @@ -40,9 +40,9 @@
"phpspec/phpspec": "^7.0",
"phpunit/phpunit": "^8.5",
"polishsymfonycommunity/symfony-mocker-container": "^1.0",
"symfony/browser-kit": "^4.4 || ^5.2",
"symfony/dependency-injection": "^4.4 || ^5.2",
"symfony/form": "^4.4 || ^5.2",
"symfony/browser-kit": "^4.4 || ^5.4.0-RC1",
"symfony/dependency-injection": "^4.4 || ^5.4.0-RC1",
"symfony/form": "^4.4 || ^5.4.0-RC1",
"twig/twig": "^2.12"
},
"config": {
Expand Down
8 changes: 4 additions & 4 deletions src/Sylius/Bundle/CustomerBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"egulias/email-validator": "^3.0",
"sylius/customer": "^1.6",
"sylius/resource-bundle": "^1.7",
"symfony/framework-bundle": "^4.4 || ^5.2",
"symfony/framework-bundle": "^4.4 || ^5.4.0-RC1",
"webmozart/assert": "^1.8"
},
"conflict": {
Expand All @@ -50,9 +50,9 @@
"phpspec/phpspec": "^7.0",
"phpunit/phpunit": "^8.5",
"polishsymfonycommunity/symfony-mocker-container": "^1.0",
"symfony/browser-kit": "^4.4 || ^5.2",
"symfony/dependency-injection": "^4.4 || ^5.2",
"symfony/form": "^4.4 || ^5.2"
"symfony/browser-kit": "^4.4 || ^5.4.0-RC1",
"symfony/dependency-injection": "^4.4 || ^5.4.0-RC1",
"symfony/form": "^4.4 || ^5.4.0-RC1"
},
"config": {
"bin-dir": "bin"
Expand Down
10 changes: 5 additions & 5 deletions src/Sylius/Bundle/InventoryBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"php": "^8.0",
"sylius/inventory": "^1.6",
"sylius/resource-bundle": "^1.7",
"symfony/framework-bundle": "^4.4 || ^5.2",
"symfony/templating": "^4.4 || ^5.2",
"symfony/validator": "^4.4 || ^5.2"
"symfony/framework-bundle": "^4.4 || ^5.4.0-RC1",
"symfony/templating": "^4.4 || ^5.4.0-RC1",
"symfony/validator": "^4.4 || ^5.4.0-RC1"
},
"conflict": {
"twig/twig": "^1.0"
Expand All @@ -41,8 +41,8 @@
"phpspec/phpspec": "^7.0",
"phpunit/phpunit": "^8.5",
"polishsymfonycommunity/symfony-mocker-container": "^1.0",
"symfony/browser-kit": "^4.4 || ^5.2",
"symfony/dependency-injection": "^4.4 || ^5.2",
"symfony/browser-kit": "^4.4 || ^5.4.0-RC1",
"symfony/dependency-injection": "^4.4 || ^5.4.0-RC1",
"twig/twig": "^2.12"
},
"config": {
Expand Down
4 changes: 2 additions & 2 deletions src/Sylius/Bundle/LocaleBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"php": "^8.0",
"sylius/locale": "^1.6",
"sylius/resource-bundle": "^1.7",
"symfony/framework-bundle": "^4.4 || ^5.2",
"symfony/templating": "^4.4 || ^5.2"
"symfony/framework-bundle": "^4.4 || ^5.4.0-RC1",
"symfony/templating": "^4.4 || ^5.4.0-RC1"
},
"conflict": {
"twig/twig": "^1.0"
Expand Down
4 changes: 2 additions & 2 deletions src/Sylius/Bundle/MoneyBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"require": {
"php": "^8.0",
"sylius/resource-bundle": "^1.7",
"symfony/framework-bundle": "^4.4 || ^5.2",
"symfony/intl": "^4.4 || ^5.2",
"symfony/framework-bundle": "^4.4 || ^5.4.0-RC1",
"symfony/intl": "^4.4 || ^5.4.0-RC1",
"symfony/templating": "^4.4 || ^5.2",
"webmozart/assert": "^1.8"
},
Expand Down
10 changes: 5 additions & 5 deletions src/Sylius/Bundle/OrderBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"sylius/money-bundle": "^1.6",
"sylius/order": "^1.6",
"sylius/resource-bundle": "^1.7",
"symfony/framework-bundle": "^4.4 || ^5.2",
"symfony/templating": "^4.4 || ^5.2"
"symfony/framework-bundle": "^4.4 || ^5.4.0-RC1",
"symfony/templating": "^4.4 || ^5.4.0-RC1"
},
"conflict": {
"twig/twig": "^1.0 || ^3.0"
Expand All @@ -44,9 +44,9 @@
"matthiasnoback/symfony-dependency-injection-test": "^4.1",
"phpspec/phpspec": "^7.0",
"phpunit/phpunit": "^8.5",
"symfony/browser-kit": "^4.4 || ^5.2",
"symfony/form": "^4.4 || ^5.2",
"symfony/validator": "^4.4 || ^5.2"
"symfony/browser-kit": "^4.4 || ^5.4.0-RC1",
"symfony/form": "^4.4 || ^5.4.0-RC1",
"symfony/validator": "^4.4 || ^5.4.0-RC1"
},
"config": {
"bin-dir": "bin"
Expand Down
Loading

0 comments on commit 28a02a6

Please sign in to comment.