Add a conflict for "doctrine/doctrine-bundle": "2.11.0"

This commit is contained in:
Wojdylak 2023-11-14 11:09:13 +01:00
parent eba08b9042
commit 5a1f03c171
2 changed files with 5 additions and 1 deletions

View file

@ -70,3 +70,7 @@ references related issues.
- https://github.com/stof/StofDoctrineExtensionsBundle/issues/455
- https://github.com/doctrine-extensions/DoctrineExtensions/issues/2600
- `doctrine/doctrine-bundle:2.11.0`:
This version uses the [readonly property](https://github.com/doctrine/DoctrineBundle/blob/2.11.0/Repository/ServiceEntityRepositoryProxy.php#L34), which is available from PHP 8.1 while the package also supports PHP 7.4 and 8.0, leading to compatibility issues.

View file

@ -180,7 +180,7 @@
},
"conflict": {
"api-platform/core": "2.7.0",
"doctrine/doctrine-bundle": "2.3.0",
"doctrine/doctrine-bundle": "2.3.0 || 2.11.0",
"doctrine/migrations": "3.5.3",
"doctrine/orm": ">= 2.16.0",
"jms/serializer-bundle": "4.1.0",