rename deprecated using path for ObjectManager

This commit is contained in:
Tchama 2020-09-08 15:42:42 +02:00
parent df1c8178ec
commit 540661862a
5 changed files with 6 additions and 6 deletions

View File

@ -75,7 +75,7 @@ class LoadOption extends AbstractFixture implements OrderedFixtureInterface
}
private function loadingWords(\Doctrine\Common\Persistence\ObjectManager $manager)
private function loadingWords(\Doctrine\Persistence\ObjectManager $manager)
{
echo "Loading some words...\n";
@ -110,7 +110,7 @@ class LoadOption extends AbstractFixture implements OrderedFixtureInterface
}
}
private function loadingCompanies(\Doctrine\Common\Persistence\ObjectManager $manager)
private function loadingCompanies(\Doctrine\Persistence\ObjectManager $manager)
{
echo "Loading companies \n";
$companiesParents = array(

View File

@ -12,7 +12,7 @@ use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\Extension\Core\Type\NumberType;
use Symfony\Component\Form\FormEvent;
use Symfony\Component\Form\FormEvents;
use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\Persistence\ObjectManager;
use Chill\CustomFieldsBundle\Service\CustomFieldProvider;
use Chill\CustomFieldsBundle\Form\DataTransformer\CustomFieldsGroupToIdTransformer;
use Chill\MainBundle\Form\Type\TranslatableStringFormType;

View File

@ -4,7 +4,7 @@ namespace Chill\CustomFieldsBundle\Form\DataTransformer;
use Symfony\Component\Form\DataTransformerInterface;
use Symfony\Component\Form\Exception\TransformationFailedException;
use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\Persistence\ObjectManager;
use Chill\CustomFieldsBundle\Entity\CustomFieldsGroup;
class CustomFieldsGroupToIdTransformer implements DataTransformerInterface

View File

@ -3,7 +3,7 @@
namespace Chill\CustomFieldsBundle\Form\DataTransformer;
use Symfony\Component\Form\DataTransformerInterface;
use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\Persistence\ObjectManager;
use Doctrine\Common\Collections\ArrayCollection;
class JsonCustomFieldToArrayTransformer implements DataTransformerInterface {

View File

@ -14,7 +14,7 @@ namespace Chill\CustomFieldsBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Chill\CustomFieldsBundle\Form\DataTransformer\JsonCustomFieldToArrayTransformer;
use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\Persistence\ObjectManager;
use Chill\CustomFieldsBundle\Form\AdressType;
use Chill\CustomFieldsBundle\Service\CustomFieldProvider;
use Chill\CustomFieldsBundle\Form\DataTransformer\CustomFieldDataTransformer;