[Form] remove obsolete deprecation comments
This commit is contained in:
parent
513fc315d6
commit
dd5064578e
@ -19,11 +19,4 @@ namespace Symfony\Bridge\Twig\Node;
|
|||||||
*/
|
*/
|
||||||
class FormEnctypeNode extends SearchAndRenderBlockNode
|
class FormEnctypeNode extends SearchAndRenderBlockNode
|
||||||
{
|
{
|
||||||
public function compile(\Twig_Compiler $compiler)
|
|
||||||
{
|
|
||||||
parent::compile($compiler);
|
|
||||||
|
|
||||||
// Uncomment this as soon as the deprecation note should be shown
|
|
||||||
// $compiler->write('trigger_error(\'The helper form_enctype(form) is deprecated since version 2.3 and will be removed in 3.0. Use form_start(form) instead.\', E_USER_DEPRECATED)');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -42,9 +42,6 @@ class BindRequestListener implements EventSubscriberInterface
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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