automatic regexp to move namespace CL\Chill => Chill

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

View File

@ -1,9 +1,9 @@
<?php
namespace CL\Chill\PersonBundle;
namespace Chill\PersonBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class CLChillPersonBundle extends Bundle
class ChillPersonBundle extends Bundle
{
}

View File

@ -1,6 +1,6 @@
<?php
namespace CL\Chill\PersonBundle\Controller;
namespace Chill\PersonBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;

View File

@ -1,11 +1,11 @@
<?php
namespace CL\Chill\PersonBundle\Controller;
namespace Chill\PersonBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use CL\Chill\PersonBundle\Entity\Person;
use CL\Chill\PersonBundle\Form\PersonHistoryFileType;
use CL\Chill\PersonBundle\Entity\PersonHistoryFile;
use Chill\PersonBundle\Entity\Person;
use Chill\PersonBundle\Form\PersonHistoryFileType;
use Chill\PersonBundle\Entity\PersonHistoryFile;
class HistoryController extends Controller
{
@ -17,7 +17,7 @@ class HistoryController extends Controller
return $this->createNotFoundException('Person not found');
}
return $this->render('CLChillPersonBundle:History:list.html.twig',
return $this->render('ChillPersonBundle:History:list.html.twig',
array('histories' => $person->getHistoriesOrdered(),
'person' => $person));
@ -76,7 +76,7 @@ class HistoryController extends Controller
return $this->render('CLChillPersonBundle:History:update.html.twig',
return $this->render('ChillPersonBundle:History:update.html.twig',
array('form' => $form->createView(),
'person' => $person ) );
}
@ -84,7 +84,7 @@ class HistoryController extends Controller
public function updateAction($id, $historyId){
$em = $this->getDoctrine()->getManager();
$history = $em->getRepository('CLChillPersonBundle:PersonHistoryFile')
$history = $em->getRepository('ChillPersonBundle:PersonHistoryFile')
->find($historyId);
if ($history === null) {
@ -147,7 +147,7 @@ class HistoryController extends Controller
return $this->render('CLChillPersonBundle:History:update.html.twig',
return $this->render('ChillPersonBundle:History:update.html.twig',
array('form' => $form->createView(),
'person' => $person ) );
}
@ -250,7 +250,7 @@ class HistoryController extends Controller
return $this->render('CLChillPersonBundle:History:close.html.twig',
return $this->render('ChillPersonBundle:History:close.html.twig',
array(
'form' => $form->createView(),
'person' => $person,
@ -260,7 +260,7 @@ class HistoryController extends Controller
/**
*
* @param CL\Chill\PersonBundle\Entity\Person $person
* @param Chill\PersonBundle\Entity\Person $person
* @return \Symfony\Component\Validator\ConstraintViolationListInterface
*/
private function _validatePerson(Person $person) {
@ -302,7 +302,7 @@ class HistoryController extends Controller
if ($historyId !== null) {
$history = $this->getDoctrine()->getEntityManager()
->getRepository('CLChillPersonBundle:PersonHistoryFile')
->getRepository('ChillPersonBundle:PersonHistoryFile')
->find($historyId);
} else {
@ -387,7 +387,7 @@ class HistoryController extends Controller
return $this->render('CLChillPersonBundle:History:open.html.twig',
return $this->render('ChillPersonBundle:History:open.html.twig',
array(
'form' => $form->createView(),
'person' => $person,
@ -411,7 +411,7 @@ class HistoryController extends Controller
private function _getPerson($id) {
return $this->getDoctrine()->getManager()
->getRepository('CLChillPersonBundle:Person')
->getRepository('ChillPersonBundle:Person')
->find($id);
}

View File

@ -1,11 +1,11 @@
<?php
namespace CL\Chill\PersonBundle\Controller;
namespace Chill\PersonBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use CL\Chill\PersonBundle\Entity\Person;
use CL\Chill\PersonBundle\Form\PersonType;
use CL\Chill\PersonBundle\Form\CreationPersonType;
use Chill\PersonBundle\Entity\Person;
use Chill\PersonBundle\Form\PersonType;
use Chill\PersonBundle\Form\CreationPersonType;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
@ -19,7 +19,7 @@ class PersonController extends Controller {
return $this->createNotFoundException("Person with id $id not found on this server");
}
return $this->render('CLChillPersonBundle:Person:view.html.twig',
return $this->render('ChillPersonBundle:Person:view.html.twig',
array("person" => $person)
);
@ -40,7 +40,7 @@ class PersonController extends Controller {
return $this->render('CLChillPersonBundle:Person:edit.html.twig',
return $this->render('ChillPersonBundle:Person:edit.html.twig',
array('person' => $person,
'form' => $form->createView()));
}
@ -64,7 +64,7 @@ class PersonController extends Controller {
$this->get('session')
->getFlashBag()->add('danger', 'error' . $errors);
return $this->render('CLChillPersonBundle:Person:edit.html.twig',
return $this->render('ChillPersonBundle:Person:edit.html.twig',
array('person' => $person,
'form' => $form->createView()));
}
@ -103,7 +103,7 @@ class PersonController extends Controller {
$offset = $this->getRequest()->query->getInt('offet', 0);
$limit = $this->getRequest()->query->getInt('limit', 30);
$dql = 'SELECT p FROM CLChillPersonBundle:Person p'
$dql = 'SELECT p FROM ChillPersonBundle:Person p'
. ' WHERE'
. ' LOWER(p.name) like LOWER(:q)'
. ' OR LOWER(p.surname) like LOWER(:q)';
@ -135,7 +135,7 @@ class PersonController extends Controller {
);
}
return $this->render('CLChillPersonBundle:Person:list.html.twig',
return $this->render('ChillPersonBundle:Person:list.html.twig',
array(
'persons' => $persons,
'pattern' => $q
@ -154,7 +154,7 @@ class PersonController extends Controller {
}
private function _renderNewForm($form) {
return $this->render('CLChillPersonBundle:Person:create.html.twig',
return $this->render('ChillPersonBundle:Person:create.html.twig',
array(
'form' => $form->createView()
));
@ -163,7 +163,7 @@ class PersonController extends Controller {
/**
*
* @param type $form
* @return \CL\Chill\PersonBundle\Entity\Person
* @return \Chill\PersonBundle\Entity\Person
*/
private function _bindCreationForm($form) {
$date = new \DateTime();
@ -183,7 +183,7 @@ class PersonController extends Controller {
/**
*
* @param \CL\Chill\PersonBundle\Entity\Person $person
* @param \Chill\PersonBundle\Entity\Person $person
* @return \Symfony\Component\Validator\ConstraintViolationListInterface
*/
private function _validatePersonAndHistory(Person $person) {
@ -253,7 +253,7 @@ class PersonController extends Controller {
$query = $em->createQuery();
$dql = 'SELECT p from CLChillPersonBundle:Person p WHERE '
$dql = 'SELECT p from ChillPersonBundle:Person p WHERE '
. 'LOWER(p.name) LIKE LOWER(:name)'
. ' OR LOWER(p.surname) LIKE LOWER(:surname)';
@ -270,7 +270,7 @@ class PersonController extends Controller {
$alternatePersons = $query->getResult();
if (count($alternatePersons) === 0) {
return $this->forward('CLChillPersonBundle:Person:create');
return $this->forward('ChillPersonBundle:Person:create');
}
$this->get('session')->getFlashBag()->add('info',
@ -279,7 +279,7 @@ class PersonController extends Controller {
array('%nb%' => count($alternatePersons)))
);
return $this->render('CLChillPersonBundle:Person:create_review.html.twig',
return $this->render('ChillPersonBundle:Person:create_review.html.twig',
array('alternatePersons' => $alternatePersons,
'name' => $form['name']->getData(),
'surname' => $form['surname']->getData(),
@ -328,12 +328,12 @@ class PersonController extends Controller {
/**
* easy getting a person by his id
* @return \CL\Chill\PersonBundle\Entity\Person
* @return \Chill\PersonBundle\Entity\Person
*/
private function _getPerson($id) {
$em = $this->getDoctrine()->getManager();
$person = $em->getRepository('CLChillPersonBundle:Person')
$person = $em->getRepository('ChillPersonBundle:Person')
->find($id);
return $person;

View File

@ -1,11 +1,11 @@
<?php
namespace CL\Chill\PersonBundle\DataFixtures\ORM;
namespace Chill\PersonBundle\DataFixtures\ORM;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
use Doctrine\Common\Persistence\ObjectManager;
use CL\Chill\PersonBundle\Entity\Person;
use Chill\PersonBundle\Entity\Person;
/**
* Load people into database

View File

@ -1,6 +1,6 @@
<?php
namespace CL\Chill\PersonBundle\DependencyInjection;
namespace Chill\PersonBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;

View File

@ -1,6 +1,6 @@
<?php
namespace CL\Chill\PersonBundle\DependencyInjection;
namespace Chill\PersonBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;

View File

@ -1,6 +1,6 @@
<?php
namespace CL\Chill\PersonBundle\Entity;
namespace Chill\PersonBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\ExecutionContextInterface;
@ -141,7 +141,7 @@ ou une valeur vide lorsque la donnée nest pas connue*/
/**
*
* @param \CL\Chill\PersonBundle\Entity\PersonHistoryFile $history
* @param \Chill\PersonBundle\Entity\PersonHistoryFile $history
* @uses PersonHistoryFile::setPerson
*/
public function addHistoryFile(PersonHistoryFile $history) {

View File

@ -1,6 +1,6 @@
<?php
namespace CL\Chill\PersonBundle\Entity;
namespace Chill\PersonBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\ExecutionContextInterface;
@ -36,7 +36,7 @@ class PersonHistoryFile
private $memo = '';
/**
* @var \CL\Chill\PersonBundle\Entity\Person
* @var \Chill\PersonBundle\Entity\Person
*/
private $person;
@ -176,11 +176,11 @@ class PersonHistoryFile
*
* For consistency, you should use Person::addHistoryFile instead.
*
* @param \CL\Chill\PersonBundle\Entity\Person $person
* @param \Chill\PersonBundle\Entity\Person $person
* @return PersonHistoryFile
* @see Person::addHistoryFile
*/
public function setPerson(\CL\Chill\PersonBundle\Entity\Person $person = null)
public function setPerson(\Chill\PersonBundle\Entity\Person $person = null)
{
$this->person = $person;
@ -190,7 +190,7 @@ class PersonHistoryFile
/**
* Get person
*
* @return \CL\Chill\PersonBundle\Entity\Person
* @return \Chill\PersonBundle\Entity\Person
*/
public function getPerson()
{

View File

@ -1,6 +1,6 @@
<?php
namespace CL\Chill\PersonBundle\Entity;
namespace Chill\PersonBundle\Entity;
use Doctrine\ORM\EntityRepository;

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

View File

@ -1,7 +1,7 @@
CL\Chill\PersonBundle\Entity\Person:
Chill\PersonBundle\Entity\Person:
type: entity
table: null
repositoryClass: CL\Chill\PersonBundle\Entity\PersonRepository
repositoryClass: Chill\PersonBundle\Entity\PersonRepository
fields:
id:
type: integer

View File

@ -1,4 +1,4 @@
CL\Chill\PersonBundle\Entity\PersonHistoryFile:
Chill\PersonBundle\Entity\PersonHistoryFile:
type: entity
table: person_history_file
id:

View File

@ -2,7 +2,7 @@
chill_person_view:
pattern: /view/{id}
defaults: { _controller: CLChillPersonBundle:Person:view }
defaults: { _controller: ChillPersonBundle:Person:view }
options:
menu: person
order: 50
@ -10,32 +10,32 @@ chill_person_view:
chill_person_general_edit:
pattern: /view/{id}/edit
defaults: {_controller: CLChillPersonBundle:Person:edit }
defaults: {_controller: ChillPersonBundle:Person:edit }
chill_person_general_update:
pattern: /view/{id}/update
defaults: {_controller: CLChillPersonBundle:Person:update }
defaults: {_controller: ChillPersonBundle:Person:update }
chill_person_new:
pattern: /new
defaults: {_controller: CLChillPersonBundle:Person:new }
defaults: {_controller: ChillPersonBundle:Person:new }
chill_person_review:
pattern: /review
defaults: {_controller: CLChillPersonBundle:Person:review }
defaults: {_controller: ChillPersonBundle:Person:review }
chill_person_create:
pattern: /create
defaults: {_controller: CLChillPersonBundle:Person:create }
defaults: {_controller: ChillPersonBundle:Person:create }
chill_person_search:
pattern: /search
defaults: { _controller: CLChillPersonBundle:Person:search }
defaults: { _controller: ChillPersonBundle:Person:search }
chill_person_history_list:
pattern: /{id}/history
defaults: { _controller: CLChillPersonBundle:History:list }
defaults: { _controller: ChillPersonBundle:History:list }
options:
menu: person
order: 100
@ -43,24 +43,24 @@ chill_person_history_list:
chill_person_history_create:
pattern: /{personId}/history/create
defaults: { _controller: CLChillPersonBundle:History:create }
defaults: { _controller: ChillPersonBundle:History:create }
chill_person_history_update:
pattern: /{id}/history/{historyId}/update
defaults: { _controller: CLChillPersonBundle:History:update }
defaults: { _controller: ChillPersonBundle:History:update }
chill_person_history_close:
pattern: /{id}/history/close
defaults: { _controller: CLChillPersonBundle:History:close }
defaults: { _controller: ChillPersonBundle:History:close }
chill_person_history_open:
pattern: /{id}/history/open
defaults: { _controller: CLChillPersonBundle:History:open }
defaults: { _controller: ChillPersonBundle:History:open }
chill_person_admin:
pattern: /admin
defaults: { _controller: CLChillPersonBundle:Admin:index }
defaults: { _controller: ChillPersonBundle:Admin:index }
options:
menu: admin
order: 100
@ -70,7 +70,7 @@ chill_person_admin:
#sample admin_person menu:
chill_person_admin_test_one:
pattern: /admin/test_one
defaults: { _controller: CLChillPersonBundle:Admin:test }
defaults: { _controller: ChillPersonBundle:Admin:test }
options:
menu: admin_person
order: 100
@ -80,7 +80,7 @@ chill_person_admin_test_one:
#sample
chill_appointment_list:
pattern: /view/{id}/appointment/list
defaults: {_controller: CLChillPersonBundle:Person:view}
defaults: {_controller: ChillPersonBundle:Person:view}
options:
menu: person
order: 200
@ -88,7 +88,7 @@ chill_appointment_list:
chill_prof_status_view:
pattern: /view/{id}/prof/list
defaults: {_controller: CLChillPersonBundle:Person:view}
defaults: {_controller: ChillPersonBundle:Person:view}
options:
menu: person
order: 300
@ -96,7 +96,7 @@ chill_prof_status_view:
chill_admin_view:
pattern: /view/{id}/administrative
defaults: {_controller: CLChillPersonBundle:Person:view}
defaults: {_controller: ChillPersonBundle:Person:view}
options:
menu: person
order: 400
@ -104,7 +104,7 @@ chill_admin_view:
chill_language:
pattern: /view/{id}/language/list
defaults: {_controller: CLChillPersonBundle:Person:view}
defaults: {_controller: ChillPersonBundle:Person:view}
options:
menu: person
order: 500
@ -112,7 +112,7 @@ chill_language:
chill_studies:
pattern: /view/{id}/studies
defaults: {_controller: CLChillPersonBundle:Person:view}
defaults: {_controller: ChillPersonBundle:Person:view}
options:
menu: person
order: 600
@ -120,7 +120,7 @@ chill_studies:
chill_notes:
pattern: /view/{id}/notes
defaults: {_controller: CLChillPersonBundle:Person:view}
defaults: {_controller: ChillPersonBundle:Person:view}
options:
menu: person
order: 700
@ -128,7 +128,7 @@ chill_notes:
chill_docs:
pattern: /view/{id}/docs
defaults: {_controller: CLChillPersonBundle:Person:view}
defaults: {_controller: ChillPersonBundle:Person:view}
options:
menu: person
order: 800

View File

@ -1,5 +1,5 @@
parameters:
# cl_chill_person.example.class: CL\Chill\PersonBundle\Example
# cl_chill_person.example.class: Chill\PersonBundle\Example
services:
# cl_chill_person.example:

View File

@ -1,4 +1,4 @@
CL\Chill\PersonBundle\Entity\Person:
Chill\PersonBundle\Entity\Person:
properties:
belgian_national_number:
- NotBlank:
@ -46,7 +46,7 @@ CL\Chill\PersonBundle\Entity\Person:
CL\Chill\PersonBundle\Entity\PersonHistoryFile:
Chill\PersonBundle\Entity\PersonHistoryFile:
properties:
date_opening:
- Date:

View File

@ -1,4 +1,4 @@
{% extends "CLChillPersonBundle::layout.html.twig" %}
{% extends "ChillPersonBundle::layout.html.twig" %}
{% set activeRouteKey = null %}

View File

@ -1,4 +1,4 @@
{% extends "CLChillPersonBundle::layout.html.twig" %}
{% extends "ChillPersonBundle::layout.html.twig" %}
{% set activeRouteKey = 'chill_person_history_list' %}

View File

@ -1,4 +1,4 @@
{% extends "CLChillPersonBundle::layout.html.twig" %}
{% extends "ChillPersonBundle::layout.html.twig" %}
{% set activeRouteKey = null %}

View File

@ -1,4 +1,4 @@
{% extends "CLChillPersonBundle::layout.html.twig" %}
{% extends "ChillPersonBundle::layout.html.twig" %}
{% set activeRouteKey = null %}

View File

@ -1,15 +1,15 @@
{% extends "CLChillPersonBundle::layout.html.twig" %}
{% extends "ChillPersonBundle::layout.html.twig" %}
{% set activeRouteKey = '' %}
{% block title %}CLChillPersonBundle:Person:see{% endblock %}
{% block title %}ChillPersonBundle:Person:see{% endblock %}
{% block personcontent %}
{% form_theme form 'CLChillMainBundle:Form:fields.html.twig' %}
{{ form_start(form) }}
{% set include_temp = 'CLChillPersonBundle:Form:form_control.html.twig' %}
{% set include_temp = 'ChillPersonBundle:Form:form_control.html.twig' %}
{% set include_args = {'return_key': 'chill_person_view',
'return_args' : { 'id' : person.id} } %}
{{ include(include_temp, include_args) }}

View File

@ -1,4 +1,4 @@
{% extends "CLChillPersonBundle::layout.html.twig" %}
{% extends "ChillPersonBundle::layout.html.twig" %}
{% set activeRouteKey = 'chill_person_view' %}
@ -10,9 +10,9 @@ This view should receive those arguments:
#}
{% block title %}CLChillPersonBundle:Person:see{% endblock %}
{% block title %}ChillPersonBundle:Person:see{% endblock %}
{% set edit_tmp_name = 'CLChillPersonBundle:Form:go_to_form.html.twig' %}
{% set edit_tmp_name = 'ChillPersonBundle:Form:go_to_form.html.twig' %}
{% set edit_tmp_args = { 'form_path_args' : { 'id': person.id },
'form_path_key' : 'chill_person_general_edit' } %}

View File

@ -47,7 +47,7 @@
{# Note: activeRouteKey should be defined in Controller or child layout #}
{{ render(controller("CLChillMainBundle:Menu:writeMenu", {
'menu' : 'person',
'layout': 'CLChillPersonBundle::menu.html.twig',
'layout': 'ChillPersonBundle::menu.html.twig',
'args' : {'id': person.id },
'activeRouteKey': activeRouteKey
})) }}

View File

@ -1,6 +1,6 @@
<?php
namespace CL\Chill\PersonBundle\Tests\Controller;
namespace Chill\PersonBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

View File

@ -1,10 +1,10 @@
<?php
namespace CL\Chill\PersonBundle\Tests\Controller;
namespace Chill\PersonBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use CL\Chill\PersonBundle\Entity\PersonHistoryFile;
use CL\Chill\PersonBundle\Entity\Person;
use Chill\PersonBundle\Entity\PersonHistoryFile;
use Chill\PersonBundle\Entity\Person;
class HistoryControllerTest extends WebTestCase
{

View File

@ -1,6 +1,6 @@
<?php
namespace CL\Chill\PersonBundle\Tests\Controller;
namespace Chill\PersonBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;