-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed as not planned
Labels
Description
Hello,
My code trigger deprecations, and it seems they are impossible to fix, because my vendors don't include these attributs
1x: Since symfony/doctrine-bridge 6.3: Registering "Orpi\Cache\InvalidateCacheEventSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute.
extract from my composer.json
doctrine/common 3.4.5
doctrine/dbal 3.9.3
doctrine/deprecations 1.1.3
doctrine/doctrine-bundle 2.13.0
doctrine/doctrine-migrations-bundle 3.3.1
doctrine/event-manager 2.0.1
doctrine/orm 2.20.0
symfony/doctrine-bridge 6.4.13
ref:
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] or #[AsDocumentListener] attribute.', \is_object($listener) ? get_debug_type($listener) : $listener); |