mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 15:43:51 +00:00
automatic regexp to move namespace CL\Chill => Chill
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace CL\Chill\PersonBundle\Form;
|
||||
namespace Chill\PersonBundle\Form;
|
||||
|
||||
use Symfony\Component\Form\AbstractType;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
|
||||
use CL\Chill\PersonBundle\Form\Type\CivilType;
|
||||
use CL\Chill\PersonBundle\Form\Type\GenderType;
|
||||
use Chill\PersonBundle\Form\Type\CivilType;
|
||||
use Chill\PersonBundle\Form\Type\GenderType;
|
||||
use CL\BelgianNationalNumberBundle\Form\BelgianNationalNumberType;
|
||||
use Symfony\Component\Form\Extension\Core\DataTransformer\DateTimeToStringTransformer;
|
||||
|
||||
@@ -75,7 +75,7 @@ class CreationPersonType extends AbstractType
|
||||
public function setDefaultOptions(OptionsResolverInterface $resolver)
|
||||
{
|
||||
// $resolver->setDefaults(array(
|
||||
// 'data_class' => 'CL\Chill\PersonBundle\Entity\Person'
|
||||
// 'data_class' => 'Chill\PersonBundle\Entity\Person'
|
||||
// ));
|
||||
}
|
||||
|
||||
|
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace CL\Chill\PersonBundle\Form\DataTransformer;
|
||||
namespace Chill\PersonBundle\Form\DataTransformer;
|
||||
|
||||
use Symfony\Component\Form\DataTransformerInterface;
|
||||
use Symfony\Component\Form\Exception\TransformationFailedException;
|
||||
use Doctrine\Common\Persistence\ObjectManager;
|
||||
use CL\Chill\PersonBundle\Entity\Person;
|
||||
use Chill\PersonBundle\Entity\Person;
|
||||
|
||||
class PersonToIdTransformer implements DataTransformerInterface
|
||||
{
|
||||
@@ -53,7 +53,7 @@ class PersonToIdTransformer implements DataTransformerInterface
|
||||
}
|
||||
|
||||
$issue = $this->om
|
||||
->getRepository('CLChillPersonBundle:Person')
|
||||
->getRepository('ChillPersonBundle:Person')
|
||||
->findOneBy(array('id' => $id))
|
||||
;
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace CL\Chill\PersonBundle\Form;
|
||||
namespace Chill\PersonBundle\Form;
|
||||
|
||||
use Symfony\Component\Form\AbstractType;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
@@ -44,7 +44,7 @@ class PersonHistoryFileType extends AbstractType
|
||||
public function setDefaultOptions(OptionsResolverInterface $resolver)
|
||||
{
|
||||
$resolver->setDefaults(array(
|
||||
'data_class' => 'CL\Chill\PersonBundle\Entity\PersonHistoryFile'
|
||||
'data_class' => 'Chill\PersonBundle\Entity\PersonHistoryFile'
|
||||
));
|
||||
}
|
||||
|
||||
|
@@ -1,12 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace CL\Chill\PersonBundle\Form;
|
||||
namespace Chill\PersonBundle\Form;
|
||||
|
||||
use Symfony\Component\Form\AbstractType;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
|
||||
use CL\Chill\PersonBundle\Form\Type\CivilType;
|
||||
use CL\Chill\PersonBundle\Form\Type\GenderType;
|
||||
use Chill\PersonBundle\Form\Type\CivilType;
|
||||
use Chill\PersonBundle\Form\Type\GenderType;
|
||||
use CL\BelgianNationalNumberBundle\Form\BelgianNationalNumberType;
|
||||
|
||||
class PersonType extends AbstractType
|
||||
@@ -51,7 +51,7 @@ class PersonType extends AbstractType
|
||||
public function setDefaultOptions(OptionsResolverInterface $resolver)
|
||||
{
|
||||
$resolver->setDefaults(array(
|
||||
'data_class' => 'CL\Chill\PersonBundle\Entity\Person'
|
||||
'data_class' => 'Chill\PersonBundle\Entity\Person'
|
||||
));
|
||||
}
|
||||
|
||||
|
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace CL\Chill\PersonBundle\Form\Type;
|
||||
namespace Chill\PersonBundle\Form\Type;
|
||||
|
||||
use Symfony\Component\Form\AbstractType;
|
||||
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
|
||||
use CL\Chill\PersonBundle\Entity\Person;
|
||||
use Chill\PersonBundle\Entity\Person;
|
||||
|
||||
/**
|
||||
* A type to select the civil union state
|
||||
|
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace CL\Chill\PersonBundle\Form\Type;
|
||||
namespace Chill\PersonBundle\Form\Type;
|
||||
|
||||
use Symfony\Component\Form\AbstractType;
|
||||
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
|
||||
use CL\Chill\PersonBundle\Entity\Person;
|
||||
use Chill\PersonBundle\Entity\Person;
|
||||
|
||||
/**
|
||||
* A type to select the civil union state
|
||||
|
Reference in New Issue
Block a user