Merge branch '2.3' into 2.7
Conflicts: src/Symfony/Component/Form/Extension/HttpFoundation/EventListener/BindRequestListener.php
This commit is contained in:
commit
8e3a4223a2
@ -25,9 +25,7 @@ class DependencyInjectionExtension implements FormExtensionInterface
|
|||||||
private $guesser;
|
private $guesser;
|
||||||
private $guesserLoaded = false;
|
private $guesserLoaded = false;
|
||||||
|
|
||||||
public function __construct(ContainerInterface $container,
|
public function __construct(ContainerInterface $container, array $typeServiceIds, array $typeExtensionServiceIds, array $guesserServiceIds)
|
||||||
array $typeServiceIds, array $typeExtensionServiceIds,
|
|
||||||
array $guesserServiceIds)
|
|
||||||
{
|
{
|
||||||
$this->container = $container;
|
$this->container = $container;
|
||||||
$this->typeServiceIds = $typeServiceIds;
|
$this->typeServiceIds = $typeServiceIds;
|
||||||
|
@ -44,9 +44,6 @@ class BindRequestListener implements EventSubscriberInterface
|
|||||||
|
|
||||||
@trigger_error('The '.__CLASS__.' class is deprecated since version 2.3 and will be removed in 3.0. Pass the Request instance to the \Symfony\Component\Form\Form::handleRequest() method instead.', E_USER_DEPRECATED);
|
@trigger_error('The '.__CLASS__.' class is deprecated since version 2.3 and will be removed in 3.0. Pass the Request instance to the \Symfony\Component\Form\Form::handleRequest() method instead.', E_USER_DEPRECATED);
|
||||||
|
|
||||||
// Uncomment this as soon as the deprecation note should be shown
|
|
||||||
// @trigger_error('Passing a Request instance to Form::submit() is deprecated since version 2.3 and will be disabled in 3.0. Call Form::process($request) instead.', E_USER_DEPRECATED);
|
|
||||||
|
|
||||||
$name = $form->getConfig()->getName();
|
$name = $form->getConfig()->getName();
|
||||||
$default = $form->getConfig()->getCompound() ? array() : null;
|
$default = $form->getConfig()->getCompound() ? array() : null;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user