Commit 4519a1c9 authored by Julien Minet's avatar Julien Minet
Browse files

fix deprecations: use fqcn for FormType

parent 6bf4f68f
Pipeline #46034 failed with stages
in 1 minute and 17 seconds
......@@ -25,6 +25,7 @@ use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\Security\Core\Role\Role;
use Symfony\Component\Form\Extension\Core\Type\FormType;
use Chill\PersonBundle\Entity\Person;
use Chill\ReportBundle\Entity\Report;
......@@ -132,7 +133,7 @@ class ReportController extends Controller
$form = $this->get('form.factory')
->createNamedBuilder(null, 'form', null, array(
->createNamedBuilder(null, FormType::class, null, array(
'method' => 'GET',
'csrf_protection' => false
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment