Remove ContainerAwareInterface and extend Fixture instead

This commit is contained in:
2025-05-26 14:32:06 +02:00
parent 7cef5e3a76
commit d2bd17632f
6 changed files with 14 additions and 61 deletions

View File

@@ -31,10 +31,10 @@ use Chill\PersonBundle\Entity\Person;
use Chill\PersonBundle\Entity\SocialWork\SocialIssue;
use Chill\PersonBundle\Repository\MaritalStatusRepository;
use Chill\PersonBundle\Repository\SocialWork\SocialIssueRepository;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
use Doctrine\Persistence\ObjectManager;
use Faker\Factory;
use Doctrine\Bundle\FixturesBundle\Fixture;
use Faker\Generator;
use Nelmio\Alice\Loader\NativeLoader;
use Nelmio\Alice\ObjectSet;
@@ -44,7 +44,7 @@ use Symfony\Component\Workflow\Registry;
/**
* Load people into database.
*/
class LoadPeople extends AbstractFixture implements ContainerAwareInterface, OrderedFixtureInterface
class LoadPeople extends Fixture implements OrderedFixtureInterface
{
use \Symfony\Component\DependencyInjection\ContainerAwareTrait;