8000 minor #13593 added missing deprecation notice when using the form_enc… · guilhermeblanco/symfony@e747947 · GitHub
[go: up one dir, main page]

Skip to content

Commit e747947

Browse files
committed
minor symfony#13593 added missing deprecation notice when using the form_enctype function (fabpot)
This PR was merged into the 2.7 branch. Discussion ---------- added missing deprecation notice when using the form_enctype function | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 37a2c93 added missing deprecation notice when using the form_enctype function
2 parents 772d053 + 37a2c93 commit e747947

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