Skip to content

Commit

Permalink
Merge branch '2.0' into bootstrap-admin-panel
Browse files Browse the repository at this point in the history
* 2.0:
  Add conflicts
  Add twig/intl-extra conflict
  Add conflicts in bundles
  Add twig 3.9.0 conflict
  • Loading branch information
GSadee committed Apr 17, 2024
2 parents ceb9294 + 7ea0d7d commit 4ef7dda
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 6 deletions.
10 changes: 10 additions & 0 deletions CONFLICTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,13 @@ references related issues.

This version introduced class aliases, which lead to a fatal error:
`The autoloader expected class "ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection\ApiPlatformExtension" to be defined in file ".../vendor/api-platform/core/src/Core/Bridge/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php". The file was found but the class was not in it, the class name or namespace probably has a typo.`

- `twig/twig:3.9.0`:

This version has a bug, which lead to a fatal error:
`An exception has been thrown during the rendering of a template ("Warning: Undefined variable $blocks").`

- `twig/intl-extra:3.9.0`:

This version call function `dateConverter` which is only available in `twig/twig:3.9.0`, that leads to a fatal error:
`An exception has been thrown during the rendering of a template ("Call to undefined method Twig\Extension\CoreExtension::dateConverter()").`
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@
"api-platform/core": "2.7.17",
"doctrine/orm": ">= 2.16.0",
"lexik/jwt-authentication-bundle": "^2.18",
"stof/doctrine-extensions-bundle": "1.8.0"
"stof/doctrine-extensions-bundle": "1.8.0",
"twig/twig": "3.9.0",
"twig/intl-extra": "3.9.0"
},
"require-dev": {
"behat/behat": "^3.6.1",
Expand Down
4 changes: 4 additions & 0 deletions src/Sylius/Bundle/AdminBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@
"symfony/dependency-injection": "^6.4.1",
"symfony/dotenv": "^6.4.0"
},
"conflict": {
"twig/twig": "3.9.0",
"twig/intl-extra": "3.9.0"
},
"config": {
"allow-plugins": {
"symfony/flex": true
Expand Down
3 changes: 2 additions & 1 deletion src/Sylius/Bundle/ChannelBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"twig/twig": "^2.12 || ^3.3"
},
"conflict": {
"doctrine/orm": ">= 2.16.0"
"doctrine/orm": ">= 2.16.0",
"twig/twig": "3.9.0"
},
"config": {
"allow-plugins": {
Expand Down
3 changes: 2 additions & 1 deletion src/Sylius/Bundle/CurrencyBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"symfony/templating": "^6.4.0"
},
"conflict": {
"doctrine/orm": ">= 2.16.0"
"doctrine/orm": ">= 2.16.0",
"twig/twig": "3.9.0"
},
"require-dev": {
"doctrine/orm": "^2.13",
Expand Down
3 changes: 2 additions & 1 deletion src/Sylius/Bundle/InventoryBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"symfony/validator": "^6.4.0"
},
"conflict": {
"doctrine/orm": ">= 2.16.0"
"doctrine/orm": ">= 2.16.0",
"twig/twig": "3.9.0"
},
"require-dev": {
"doctrine/orm": "^2.13",
Expand Down
3 changes: 2 additions & 1 deletion src/Sylius/Bundle/LocaleBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"symfony/templating": "^6.4.0"
},
"conflict": {
"doctrine/orm": ">= 2.16.0"
"doctrine/orm": ">= 2.16.0",
"twig/twig": "3.9.0"
},
"require-dev": {
"doctrine/orm": "^2.13",
Expand Down
3 changes: 2 additions & 1 deletion src/Sylius/Bundle/MoneyBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"webmozart/assert": "^1.9"
},
"conflict": {
"doctrine/orm": ">= 2.16.0"
"doctrine/orm": ">= 2.16.0",
"twig/twig": "3.9.0"
},
"require-dev": {
"doctrine/orm": "^2.13",
Expand Down
4 changes: 4 additions & 0 deletions src/Sylius/Bundle/ShopBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
"phpunit/phpunit": "^9.5",
"symfony/dependency-injection": "^6.4.1"
},
"conflict": {
"twig/twig": "3.9.0",
"twig/intl-extra": "3.9.0"
},
"config": {
"allow-plugins": {
"symfony/flex": true
Expand Down
3 changes: 3 additions & 0 deletions src/Sylius/Bundle/UiBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
"symfony/webpack-encore-bundle": "^1.17.1",
"laminas/laminas-stdlib": "^3.3.1"
},
"conflict": {
"twig/twig": "3.9.0"
},
"require-dev": {
"matthiasnoback/symfony-config-test": "^4.2",
"matthiasnoback/symfony-dependency-injection-test": "^4.2",
Expand Down

0 comments on commit 4ef7dda

Please sign in to comment.