mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-05 20:57:12 +00:00
Merge branch '2.0' into api-platform-3
* 2.0: Add empty array check Revert conflict to twig/intl-extra
This commit is contained in:
commit
968a1c0afb
5 changed files with 6 additions and 12 deletions
|
|
@ -22,8 +22,3 @@ references related issues.
|
|||
|
||||
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()").`
|
||||
|
|
|
|||
|
|
@ -188,8 +188,7 @@
|
|||
"api-platform/core": "2.7.17",
|
||||
"doctrine/orm": ">= 2.16.0",
|
||||
"stof/doctrine-extensions-bundle": "1.8.0",
|
||||
"twig/twig": "3.9.0",
|
||||
"twig/intl-extra": "3.9.0"
|
||||
"twig/twig": "3.9.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"behat/behat": "^3.6.1",
|
||||
|
|
|
|||
|
|
@ -80,7 +80,9 @@ class ZoneRepository extends EntityRepository implements ZoneRepositoryInterface
|
|||
$queryBuilder->setParameter('provinceCode', $address->getProvinceCode());
|
||||
}
|
||||
|
||||
$queryBuilder->andWhere($queryBuilder->expr()->orX(...$orConditions));
|
||||
if ($orConditions !== []) {
|
||||
$queryBuilder->andWhere($queryBuilder->expr()->orX(...$orConditions));
|
||||
}
|
||||
|
||||
return $queryBuilder;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,8 +50,7 @@
|
|||
"symfony/dotenv": "^6.4.0"
|
||||
},
|
||||
"conflict": {
|
||||
"twig/twig": "3.9.0",
|
||||
"twig/intl-extra": "3.9.0"
|
||||
"twig/twig": "3.9.0"
|
||||
},
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
|
|
|
|||
|
|
@ -44,8 +44,7 @@
|
|||
"symfony/dependency-injection": "^6.4.1"
|
||||
},
|
||||
"conflict": {
|
||||
"twig/twig": "3.9.0",
|
||||
"twig/intl-extra": "3.9.0"
|
||||
"twig/twig": "3.9.0"
|
||||
},
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue