Skip to content

Commit 3385538

Browse files
committed
fixed some deprecation messages
1 parent 992e6fb commit 3385538

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Templating/Debugger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Templating;
1313

14-
@trigger_error('The '.__NAMESPACE__.'\Debugger class is deprecated since version 2.4 and will be removed in 3.0. Use the Psr\Log\LoggerInterface interface instead.', E_USER_DEPRECATED);
14+
@trigger_error('The '.__NAMESPACE__.'\Debugger class is deprecated since Symfony 2.4 and will be removed in 3.0. Use the Psr\Log\LoggerInterface interface instead.', E_USER_DEPRECATED);
1515

1616
use Symfony\Component\Templating\DebuggerInterface;
1717
use Psr\Log\LoggerInterface;

Templating/Helper/FormHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function end(FormView $view, array $variables = array())
130130
*/
131131
public function enctype(FormView $view)
132132
{
133-
@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);
133+
@trigger_error('The form helper $view[\'form\']->enctype() is deprecated since Symfony 2.3 and will be removed in 3.0. Use $view[\'form\']->start() instead.', E_USER_DEPRECATED);
134134

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

0 commit comments

Comments
 (0)