Merge remote-tracking branch 'origin/upgrade-sf3' into upgrade-sf3

This commit is contained in:
Julien Fastré 2018-04-19 18:20:30 +02:00
commit c7ad381aac
2 changed files with 4 additions and 3 deletions

View File

@ -225,7 +225,8 @@ class PersonController extends Controller
} }
$form = $this->createForm( $form = $this->createForm(
CreationPersonType::NAME, //CreationPersonType::NAME,
CreationPersonType::class,
new Person(), new Person(),
array( array(
'action' => $this->generateUrl('chill_person_create'), 'action' => $this->generateUrl('chill_person_create'),
@ -324,7 +325,7 @@ class PersonController extends Controller
return $r; return $r;
} }
$form = $this->createForm(CreationPersonType::NAME, null, array( $form = $this->createForm(CreationPersonType::class, null, array(
'form_status' => CreationPersonType::FORM_REVIEWED 'form_status' => CreationPersonType::FORM_REVIEWED
)); ));

View File

@ -53,4 +53,4 @@ Chill\PersonBundle\Entity\AccompanyingPeriod:
groups: [closed] groups: [closed]
constraints: constraints:
- Callback: - Callback:
methods: [isDateConsistent] callback: isDateConsistent