8000 [Form] remove obsolete deprecation comments · wouterj/symfony@dd50645 · GitHub
[go: up one dir, main page]

Skip to content

Commit dd50645

Browse files
committed
[Form] remove obsolete deprecation comments
1 parent 513fc31 commit dd50645

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

src/Symfony/Bridge/Twig/Node/FormEnctypeNode.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,4 @@
1919
*/
2020
class FormEnctypeNode extends SearchAndRenderBlockNode
2121
{
22-
public function compile(\Twig_Compiler $compiler)
23-
{
24-
parent::compile($compiler);
25-
26-
// Uncomment this as soon as the deprecation note should be shown
27-
// $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)');
28-
}
2922
}

src/Symfony/Component/Form/Extension/HttpFoundation/EventListener/BindRequestListener.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ public function preBind(FormEvent $event)
4242
return;
4343
}
4444

45-
// Uncomment this as soon as the deprecation note should be shown
46-
// 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);
47-
4845
$name = $form->getConfig()->getName();
4946
$default = $form->getConfig()->getCompound() ? array() : null;
5047

0 commit comments

Comments
 (0)
0