This PR was merged into the 2.7 branch.
Discussion
----------
add deprecation log (#12618)
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets | #12618
| License | MIT
| Doc PR |
Commits
-------
7d9afd7
add deprecation log (#12618)
This commit is contained in:
commit
9cd6e6acc0
@ -136,8 +136,8 @@ class FormHelper extends Helper
|
||||
*/
|
||||
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');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user