Merge branch '2.3' into 2.7

Conflicts:
	src/Symfony/Component/Form/Extension/HttpFoundation/EventListener/BindRequestListener.php
This commit is contained in:
Tobias Schultze 2015-10-03 18:41:23 +02:00
commit 8e3a4223a2
2 changed files with 1 additions and 6 deletions

View File

@ -25,9 +25,7 @@ class DependencyInjectionExtension implements FormExtensionInterface
private $guesser;
private $guesserLoaded = false;
public function __construct(ContainerInterface $container,
array $typeServiceIds, array $typeExtensionServiceIds,
array $guesserServiceIds)
public function __construct(ContainerInterface $container, array $typeServiceIds, array $typeExtensionServiceIds, array $guesserServiceIds)
{
$this->container = $container;
$this->typeServiceIds = $typeServiceIds;

View File

@ -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);
// 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();
$default = $form->getConfig()->getCompound() ? array() : null;