You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($listenerTag === $tagName && !isset($tag['event'])) {
81
+
if (!isset($tag['event'])) {
87
82
thrownewInvalidArgumentException(sprintf('Doctrine event listener "%s" must specify the "event" attribute.', $id));
88
83
}
89
84
foreach ($connectionsas$con) {
@@ -105,19 +100,10 @@ private function addTaggedServices(ContainerBuilder $container): array
105
100
if (ContainerAwareEventManager::class === $managerClass) {
106
101
$refs = $managerDef->getArguments()[1] ?? [];
107
102
$listenerRefs[$con][$id] = newReference($id);
108
-
if ($subscriberTag === $tagName) {
109
-
trigger_deprecation('symfony/doctrine-bridge', '6.3', 'Registering "%s" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] attribute.', $id);
0 commit comments