8000 minor #37639 Allow doctrine/persistence 2 (derrabus) · symfony/symfony@2c84ea2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2c84ea2

Browse files
minor #37639 Allow doctrine/persistence 2 (derrabus)
This PR was squashed before being merged into the 4.4 branch. Discussion ---------- Allow doctrine/persistence 2 | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | N/A | License | MIT | Doc PR | N/A Replaces #37416. This PR unblocks the installation of `doctrine/persistence` version 2. Notes: * I had to bump `doctrine/data-fixtures` because composer would otherwise downgrade to an ancient alpha release with incomplete version constraints. This package is a dev dependency for our tests, so I think we're good here. **edit**: Moved to #37640. * Until doctrine/data-fixtures#349 has been resolved, Doctrine/Bridge cannot be tested with version 2 of `doctrine/persistence`. Commits ------- cd22fe6 Allow doctrine/persistence 2
2 parents 4a8f11c + cd22fe6 commit 2c84ea2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"php": ">=7.1.3",
2020
"ext-xml": "*",
2121
"doctrine/event-manager": "~1.0",
22-
"doctrine/persistence": "^1.3",
22+
"doctrine/persistence": "^1.3|^2",
2323
"twig/twig": "^1.41|^2.10|^3.0",
2424
"psr/cache": "~1.0",
2525
"psr/container": "^1.0",

src/Symfony/Bridge/Doctrine/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"require": {
1919
"php": ">=7.1.3",
2020
"doctrine/event-manager": "~1.0",
21-
"doctrine/persistence": "^1.3",
21+
"doctrine/persistence": "^1.3|^2",
2222
"symfony/polyfill-ctype": "~1.8",
2323
"symfony/polyfill-mbstring": "~1.0",
2424
"symfony/service-contracts": "^1.1|^2"

src/Symfony/Component/Messenger/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"require-dev": {
2424
"doctrine/dbal": "^2.6|^3.0",
25-
"doctrine/persistence": "^1.3",
25+
"doctrine/persistence": "^1.3|^2",
2626
"psr/cache": "~1.0",
2727
"symfony/console": "^3.4|^4.0|^5.0",
2828
"symfony/dependency-injection": "^3.4.19|^4.1.8|^5.0",

0 commit comments

Comments
 (0)
0