Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7fd8e98

Browse files
minor #28038 Remove direct dependencies on doctrine/common (Majkl578)
This PR was merged into the 4.2-dev branch. Discussion ---------- Remove direct dependencies on doctrine/common | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Resubmitting #27609 now that Doctrine should be deprecation free. Commits ------- cb91cde Remove direct dependencies on doctrine/common
2 parents 67044af + cb91cde commit 7fd8e98

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
"require": {
1919
"php": "^7.1.3",
2020
"ext-xml": "*",
21-
"doctrine/common": "~2.4@stable",
21+
"doctrine/collections": "~1.0",
22+
"doctrine/event-manager": "~1.0",
23+
"doctrine/persistence": "~1.0",
2224
"fig/link-util": "^1.0",
2325
"twig/twig": "^1.35|^2.4.4",
2426
"psr/cache": "~1.0",
@@ -91,7 +93,8 @@
9193
"doctrine/cache": "~1.6",
9294
"doctrine/data-fixtures": "1.0.*",
9395
"doctrine/dbal": "~2.4",
94-
"doctrine/orm": "~2.4,>=2.4.5,<=2.7.0",
96+
"doctrine/orm": "~2.4,>=2.4.5",
97+
"doctrine/reflection": "~1.0",
9598
"doctrine/doctrine-bundle": "~1.4",
9699
"monolog/monolog": "~1.11",
97100
"ocramius/proxy-manager": "~0.4|~1.0|~2.0",

src/Symfony/Bridge/Doctrine/composer.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
],
1818
"require": {
1919
"php": "^7.1.3",
20-
"doctrine/common": "~2.4@stable",
20+
"doctrine/collections": "~1.0",
21+
"doctrine/event-manager": "~1.0",
22+
"doctrine/persistence": "~1.0",
2123
"symfony/contracts": "^1.0",
2224
"symfony/polyfill-ctype": "~1.8",
2325
"symfony/polyfill-mbstring": "~1.0"
@@ -34,9 +36,12 @@
3436
"symfony/expression-language": "~3.4|~4.0",
3537
"symfony/validator": "~3.4|~4.0",
3638
"symfony/translation": "~3.4|~4.0",
39+
"doctrine/annotations": "~1.0",
40+
"doctrine/cache": "~1.6",
3741
"doctrine/data-fixtures": "1.0.*",
3842
"doctrine/dbal": "~2.4",
39-
"doctrine/orm": "^2.4.5"
43+
"doctrine/orm": "^2.4.5",
44+
"doctrine/reflection": "~1.0"
4045
},
4146
"conflict": {
4247
"phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0",

0 commit comments

Comments
 (0)