From bcce10cf80638b8193a65e9929c2d009c95e2547 Mon Sep 17 00:00:00 2001 From: Tchama Date: Fri, 4 Sep 2020 20:35:32 +0200 Subject: [PATCH] fix deprecated ObjectManager path in data fixtures scripts --- DataFixtures/ORM/LoadAccompanyingPeriodClosingMotive.php | 2 +- DataFixtures/ORM/LoadCustomFields.php | 2 +- DataFixtures/ORM/LoadMaritalStatus.php | 2 +- DataFixtures/ORM/LoadPeople.php | 2 +- DataFixtures/ORM/LoadPersonACL.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DataFixtures/ORM/LoadAccompanyingPeriodClosingMotive.php b/DataFixtures/ORM/LoadAccompanyingPeriodClosingMotive.php index 743350885..fad0596a6 100644 --- a/DataFixtures/ORM/LoadAccompanyingPeriodClosingMotive.php +++ b/DataFixtures/ORM/LoadAccompanyingPeriodClosingMotive.php @@ -24,7 +24,7 @@ namespace Chill\PersonBundle\DataFixtures\ORM; use Doctrine\Common\DataFixtures\AbstractFixture; use Doctrine\Common\DataFixtures\OrderedFixtureInterface; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Persistence\ObjectManager; use Chill\PersonBundle\Entity\AccompanyingPeriod\ClosingMotive; /** diff --git a/DataFixtures/ORM/LoadCustomFields.php b/DataFixtures/ORM/LoadCustomFields.php index 4b740d38f..1ffceee93 100644 --- a/DataFixtures/ORM/LoadCustomFields.php +++ b/DataFixtures/ORM/LoadCustomFields.php @@ -19,7 +19,7 @@ namespace Chill\PersonBundle\DataFixtures\ORM; use Doctrine\Common\DataFixtures\AbstractFixture; use Doctrine\Common\DataFixtures\OrderedFixtureInterface; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Persistence\ObjectManager; use Symfony\Component\DependencyInjection\ContainerAwareInterface; use Symfony\Component\DependencyInjection\ContainerInterface; use Chill\CustomFieldsBundle\Entity\CustomField; diff --git a/DataFixtures/ORM/LoadMaritalStatus.php b/DataFixtures/ORM/LoadMaritalStatus.php index 7369d677b..b0cf57637 100644 --- a/DataFixtures/ORM/LoadMaritalStatus.php +++ b/DataFixtures/ORM/LoadMaritalStatus.php @@ -23,7 +23,7 @@ namespace Chill\PersonBundle\DataFixtures\ORM; use Doctrine\Common\DataFixtures\AbstractFixture; use Doctrine\Common\DataFixtures\OrderedFixtureInterface; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Persistence\ObjectManager; use Chill\PersonBundle\Entity\MaritalStatus; /** diff --git a/DataFixtures/ORM/LoadPeople.php b/DataFixtures/ORM/LoadPeople.php index 63b0c53e5..0977eef2c 100644 --- a/DataFixtures/ORM/LoadPeople.php +++ b/DataFixtures/ORM/LoadPeople.php @@ -23,7 +23,7 @@ namespace Chill\PersonBundle\DataFixtures\ORM; use Doctrine\Common\DataFixtures\AbstractFixture; use Doctrine\Common\DataFixtures\OrderedFixtureInterface; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Persistence\ObjectManager; use Chill\PersonBundle\Entity\Person; use Symfony\Component\DependencyInjection\ContainerAwareInterface; use Chill\MainBundle\DataFixtures\ORM\LoadPostalCodes; diff --git a/DataFixtures/ORM/LoadPersonACL.php b/DataFixtures/ORM/LoadPersonACL.php index 691866294..0e3cb6dc9 100644 --- a/DataFixtures/ORM/LoadPersonACL.php +++ b/DataFixtures/ORM/LoadPersonACL.php @@ -21,7 +21,7 @@ namespace Chill\PersonBundle\DataFixtures\ORM; use Doctrine\Common\DataFixtures\AbstractFixture; use Doctrine\Common\DataFixtures\OrderedFixtureInterface; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Persistence\ObjectManager; use Chill\MainBundle\DataFixtures\ORM\LoadPermissionsGroup; use Chill\MainBundle\Entity\RoleScope; use Chill\PersonBundle\Security\Authorization\PersonVoter;