Skip to content

Commit 11290f9

Browse files
committed
minor symfony#39968 [FrameworkBundle] add doctrine/persistence as a dev requirement (xabbuh)
This PR was merged into the 4.4 branch. Discussion ---------- [FrameworkBundle] add doctrine/persistence as a dev requirement | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | Fix symfony#39941 (comment) | License | MIT | Doc PR | Otherwise, we are testing something that will never be possible in a real application. Commits ------- 6ea9e4d add doctrine/persistence as a dev requirement
2 parents 4181c43 + 6ea9e4d commit 11290f9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/Controller/ControllerTraitTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ public function testCreateFormBuilder()
518518

519519
public function testGetDoctrine()
520520
{
521-
$doctrine = $this->getMockBuilder(ManagerRegistry::class)->getMock();
521+
$doctrine = $this->createMock(ManagerRegistry::class);
522522

523523
$container = new Container();
524524
$container->set('doctrine', $doctrine);

src/Symfony/Bundle/FrameworkBundle/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"require-dev": {
3333
"doctrine/annotations": "^1.10.4",
3434
"doctrine/cache": "~1.0",
35+
"doctrine/persistence": "^1.3",
3536
"paragonie/sodium_compat": "^1.8",
3637
"symfony/asset": "^3.4|^4.0|^5.0",
3738
"symfony/browser-kit": "^4.3|^5.0",

0 commit comments

Comments
 (0)