Skip to content

Commit 3b56d15

Browse files
committed
Remove on fixture classes
1 parent bf93512 commit 3b56d15

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Loader/SymfonyFixturesLoader.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,6 @@ public function addFixture(FixtureInterface $fixture): void
6767
$this->addGroupsFixtureMapping($class, $fixture::getGroups());
6868
}
6969

70-
if ($fixture instanceof ContainerAwareInterface) {
71-
$fixture->setContainer($this->container);
72-
}
73-
7470
parent::addFixture($fixture);
7571
}
7672

UPGRADE-5.0.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ UPGRADE FROM 4.x to 5.0
1010
`Doctrine\Bundle\MongoDBBundle\Command\DoctrineODMCommand` have been
1111
removed without replacement.
1212
* The `Doctrine\Bundle\MongoDBBundle\Command\DoctrineODMCommand` class is now
13-
`@internal`, you should not extend from this class.
13+
`@internal`, you should not extend from this class.
14+
* Remove support for `services` option in `doctrine:mongodb:fixtures:load` command.
15+
* Remove `ContainerAwareInterface` on fixture classes.

0 commit comments

Comments
 (0)