Skip to content

Commit 076c215

Browse files
committed
minor #12645 [Hackday] [2.7] Add a deprecation note about RegisterListenersPass (jzawadzki)
This PR was squashed before being merged into the 2.7 branch (closes #12645). Discussion ---------- [Hackday] [2.7] Add a deprecation note about RegisterListenersPass | Q | A | ------------- | --- | Fixed tickets | #12633 | License | MIT Commits ------- 9938179 [Hackday] [2.7] Add a deprecation note about RegisterListenersPass
2 parents 9af1836 + da0fe9c commit 076c215

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

DependencyInjection/RegisterListenersPass.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
namespace Symfony\Component\HttpKernel\DependencyInjection;
1313

14+
trigger_error('Class "Symfony\Component\HttpKernel\DependencyInjection\RegisterListenersPass" is deprecated since 2.5 and will be removed in 3.0. Use "Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass" instead.', E_USER_DEPRECATED);
15+
1416
use Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass as BaseRegisterListenersPass;
1517

1618
/**

0 commit comments

Comments
 (0)