Skip to content

Commit

Permalink
add deprecation log (#12618)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Reichel committed Nov 29, 2014
1 parent d277c16 commit 7d9afd7
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -136,8 +136,8 @@ public function end(FormView $view, array $variables = array())
*/
public function enctype(FormView $view)
{
// Uncomment this as soon as the deprecation note should be shown
// trigger_error('The form helper $view[\'form\']->enctype() is deprecated since version 2.3 and will be removed in 3.0. Use $view[\'form\']->start() instead.', E_USER_DEPRECATED);
trigger_error('The form helper $view[\'form\']->enctype() is deprecated since version 2.3 and will be removed in 3.0. Use $view[\'form\']->start() instead.', E_USER_DEPRECATED);

return $this->renderer->searchAndRenderBlock($view, 'enctype');
}

Expand Down

0 comments on commit 7d9afd7

Please sign in to comment.