Skip to content

Symfony deprecationsΒ #737

@Ciloe

Description

@Ciloe

Hi,

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.

This is all concerned classes :

Knp\DoctrineBehaviors\EventSubscriber\BlameableEventSubscriber
Knp\DoctrineBehaviors\EventSubscriber\LoggableEventSubscriber
Knp\DoctrineBehaviors\EventSubscriber\SluggableEventSubscriber
Knp\DoctrineBehaviors\EventSubscriber\SoftDeletableEventSubscriber
Knp\DoctrineBehaviors\EventSubscriber\TimestampableEventSubscriber
Knp\DoctrineBehaviors\EventSubscriber\TranslatableEventSubscriber
Knp\DoctrineBehaviors\EventSubscriber\TreeEventSubscriber
Knp\DoctrineBehaviors\EventSubscriber\UuidableEventSubscriber

I see an other deprecation :

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.

Bu I think It's related to this PR => #727

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions