Find a Rector rule
Find the best Rector rule to solve your problem. Searching through 1136 rules.
Found 1 rule. That's the one: Clear
doctrine/doctrine-fixtures-bundle
1 match
AddDependentFixtureInterfaceRector
doctrine/doctrine-fixtures-bundle >=3.0
Add DependentFixtureInterface to fixtures with getDependencies(), as the base Fixture class no longer implements it
use Doctrine\Bundle\FixturesBundle\Fixture;
-final class UserFixture extends Fixture
+final class UserFixture extends Fixture implements \Doctrine\Common\DataFixtures\DependentFixtureInterface
{
public function getDependencies(): array
{
return [GroupFixture::class];
}
}