automatic regexp to move namespace CL\Chill => Chill

This commit is contained in:
2014-11-07 10:01:20 +01:00
parent 651577981c
commit f7d24ae520
31 changed files with 105 additions and 105 deletions

View File

@@ -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'
// ));
}

View File

@@ -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))
;

View File

@@ -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'
));
}

View File

@@ -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'
));
}

View File

@@ -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

View File

@@ -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