Skip to content

Commit 8c00094

Browse files
chore: bump version (#7276)
1 parent 828b62a commit 8c00094

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Doctrine/Common/Tests/State/PersistProcessorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function testPersistIfEntityAlreadyManaged(): void
6161
$objectManagerProphecy->persist($dummy)->shouldNotBeCalled();
6262
$objectManagerProphecy->flush()->shouldBeCalled();
6363
$objectManagerProphecy->refresh($dummy)->shouldBeCalled();
64-
$objectManagerProphecy->getClassMetadata(Dummy::class)->willReturn(null)->shouldBeCalled();
64+
$objectManagerProphecy->getClassMetadata(Dummy::class)->willReturn(new ClassMetadata(Dummy::class))->shouldBeCalled();
6565

6666
$managerRegistryProphecy = $this->prophesize(ManagerRegistry::class);
6767
$managerRegistryProphecy->getManagerForClass(Dummy::class)->willReturn($objectManagerProphecy->reveal())->shouldBeCalled();

src/Doctrine/Common/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"api-platform/state": "^4.1.11",
2929
"doctrine/collections": "^2.1",
3030
"doctrine/common": "^3.2.2",
31-
"doctrine/persistence": "^3.2"
31+
"doctrine/persistence": "^3.2 || ^4.0"
3232
},
3333
"require-dev": {
3434
"doctrine/mongodb-odm": "^2.10",

0 commit comments

Comments
 (0)