Skip to content

Commit da0fe9c

Browse files
jzawadzkifabpot
authored andcommitted
[Hackday] [2.7] Add a deprecation note about RegisterListenersPass
1 parent b6435a2 commit da0fe9c

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)