Please add this code:
```php
use Symfony\Component\HttpKernel\Kernel;
// (...)
if ('2' === Kernel::MAJOR_VERSION && '2' === Kernel::MINOR_VERSION) {
   $form->bind($request);
} else {
    $form->bindRequest($request);
}