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
In SF 6.3 they are deprecations about listener to go to SF 7.0 :
Since symfony/doctrine-bridge 6.3: Registering "Knp\DoctrineBehaviors\EventSubscriber\TimestampableEventSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] attribute.
Since symfony/security-bundle 6.2: The "Symfony\Component\Security\Core\Security" service alias is deprecated, use "Symfony\Bundle\SecurityBundle\Security" instead. It is being referenced by the "Knp\DoctrineBehaviors\Provider\UserProvider" service.
@Ciloe The different deprecation you mention are not linked.
Concerning the first one, we should use the AsDoctrineListener attribute in replacement of implementing the EventSubscriberInterface. I'm going to open a PR but the AsDoctrineListener attribute have been introduced as part of https://github.com/doctrine/DoctrineBundle 2.8.x so I will have to change the constraint to "doctrine/doctrine-bundle": "^2.6" to "doctrine/doctrine-bundle": "^2.8".
Hi,
In SF 6.3 they are deprecations about listener to go to SF 7.0 :
This is all concerned classes :
I see an other deprecation :
Bu I think It's related to this PR => #727
The text was updated successfully, but these errors were encountered: