mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
[Composer] Conflict with symfony/serializer:^6.4.23 because of a fatal error in APIP 2.7
This commit is contained in:
parent
759c2a98dd
commit
4af685f309
2 changed files with 6 additions and 0 deletions
|
|
@ -37,3 +37,8 @@ references related issues.
|
|||
|
||||
This version moved files to flatten paths into a PSR-4 structure, which lead to a fatal error:
|
||||
`PHP Fatal error: Uncaught Error: Failed opening required '/home/runner/work/Sylius/Sylius/vendor/behat/gherkin/src/../../../i18n.php' (include_path='.:/usr/share/php') in /home/runner/work/Sylius/Sylius/vendor/behat/gherkin/src/Keywords/CachedArrayKeywords.php:34`
|
||||
|
||||
- `symfony/serializer:^6.4.23`:
|
||||
|
||||
This version introduces a change in method signature that is not compatible with API Platform 2.7 and leads to a fatal error:
|
||||
`PHP Fatal error: Declaration of ApiPlatform\Serializer\AbstractItemNormalizer::getAllowedAttributes($classOrObject, array $context, $attributesAsString = false) must be compatible with Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer::getAllowedAttributes(object|string $classOrObject, array $context, bool $attributesAsString = false): array|bool in /home/runner/work/Sylius/Sylius/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php on line 493`
|
||||
|
|
|
|||
|
|
@ -190,6 +190,7 @@
|
|||
"behat/gherkin": "^4.13.0",
|
||||
"lexik/jwt-authentication-bundle": "^2.18",
|
||||
"stof/doctrine-extensions-bundle": "1.8.0",
|
||||
"symfony/serializer": "^6.4.23",
|
||||
"symfony/validator": "5.4.25",
|
||||
"twig/twig": "3.9.0"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue