Skip to content

Commit 86f3705

Browse files
committed
Update the removal version in the deprecation message
1 parent 194df55 commit 86f3705

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

DependencyInjection/Compiler/DebugHandlerPass.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@
2424
* @author Christophe Coevoet <stof@notk.org>
2525
* @author Jordi Boggiano <j.boggiano@seld.be>
2626
*
27-
* @deprecated since version 2.12, to be removed in 3.0. Use AddDebugLogProcessorPass in FrameworkBundle instead.
27+
* @deprecated since version 2.12, to be removed in 4.0. Use AddDebugLogProcessorPass in FrameworkBundle instead.
2828
*/
2929
class DebugHandlerPass implements CompilerPassInterface
3030
{
3131
private $channelPass;
3232

3333
public function __construct(LoggerChannelPass $channelPass)
3434
{
35-
// Trigger the deprecation only when using a Symfony version supporting the new feature
35+
// Trigger the deprecation only when using a Symfony version supporting the new feature (i.e. 3.2+)
3636
if (class_exists('Symfony\Bridge\Monolog\Processor\DebugProcessor') && class_exists('Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddDebugLogProcessorPass')) {
37-
@trigger_error('The '.__CLASS__.' class is deprecated since version 2.12 and will be removed in 3.0. Use AddDebugLogProcessorPass in FrameworkBundle instead.', E_USER_DEPRECATED);
37+
@trigger_error('The '.__CLASS__.' class is deprecated since version 2.12 and will be removed in 4.0. Use AddDebugLogProcessorPass in FrameworkBundle instead.', E_USER_DEPRECATED);
3838
}
3939

4040
$this->channelPass = $channelPass;

0 commit comments

Comments
 (0)