8000 added missing deprecation notice when using the form_enctype function · symfony/symfony@37a2c93 · GitHub
[go: up one dir, main page]

Skip to content

Commit 37a2c93

Browse files
committed
added missing deprecation notice when using the form_enctype function
1 parent db5dee6 commit 37a2c93

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ public function compile(\Twig_Compiler $compiler)
2222
{
2323
parent::compile($compiler);
2424

25-
// Uncomment this as soon as the deprecation note should be shown
26-
// $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)');
25+
$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)');
2726
}
2827
}

0 commit comments

Comments
 (0)
0