8000 bug #47863 [DoctrineBridge] Allow doctrine/event-manager 2 (derrabus) · symfony/symfony@2dc39f8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2dc39f8

Browse files
committed
bug #47863 [DoctrineBridge] Allow doctrine/event-manager 2 (derrabus)
This PR was merged into the 6.0 branch. Discussion ---------- [DoctrineBridge] Allow doctrine/event-manager 2 | Q | A | ------------- | --- | Branch? | 6.0 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | N/A | License | MIT | Doc PR | N/A We can allow installing EventManager 2 on the 6.0 branch because we have all the necessary return types here. On 5.4 and below, this would require a breaking change. Commits ------- d9a08a0 Allow doctrine/event-manager 2
2 parents 797a623 + d9a08a0 commit 2dc39f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"composer-runtime-api": ">=2.1",
3737
"ext-xml": "*",
3838
"friendsofphp/proxy-manager-lts": "^1.0.2",
39-
"doctrine/event-manager": "~1.0",
39+
"doctrine/event-manager": "^1|^2",
4040
"doctrine/persistence": "^2|^3",
4141
"twig/twig": "^2.13|^3.0.4",
4242
"psr/cache": "^2.0|^3.0",

src/Symfony/Bridge/Doctrine/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"require": {
1919
"php": ">=8.0.2",
20-
"doctrine/event-manager": "~1.0",
20+
"doctrine/event-manager": "^1|^2",
2121
"doctrine/persistence": "^2|^3",
2222
"symfony/deprecation-contracts": "^2.1|^3",
2323
"symfony/polyfill-ctype": "~1.8",

0 commit comments

Comments
 (0)
0