EncryptBundle icon indicating copy to clipboard operation
EncryptBundle copied to clipboard

Registering DoctrineEncryptSubscriber as a Doctrine subscriber is deprecated

Open dehy opened this issue 8 months ago • 0 comments

Here is a deprecation warning for the future Symfony 7.0

deprecation.INFO: User Deprecated: Since symfony/doctrine-bridge 6.3: Registering 
"SpecShaper\EncryptBundle\Subscribers\DoctrineEncryptSubscriber" as a Doctrine subscriber is deprecated. 
Register it as a listener instead, using e.g. the #[AsDoctrineListener] attribute. 
{"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/doctrine-bridge 6.3: Registering 
\"SpecShaper\\EncryptBundle\\Subscribers\\DoctrineEncryptSubscriber\" as a Doctrine subscriber is deprecated. 
Register it as a listener instead, using e.g. the #[AsDoctrineListener] attribute. at /app/vendor/symfony/doctrine-bridge/ContainerAwareEventManager.php:211)"}

dehy avatar Oct 15 '23 17:10 dehy