sonata-project / SonataUserBundle

Symfony SonataUserBundle
https://docs.sonata-project.org/projects/SonataUserBundle
MIT License
339 stars 488 forks source link

UserListener: use event_listener instead of subscriber #1651

Closed Hanmac closed 1 year ago

Hanmac commented 1 year ago

Subject

I am targeting this branch, because it should be without BC break?

Closes #1650.

Changelog

### Fixed
- Deprecation of Event Subscribers on Symfony 6.3. The UserListener now uses Event Listeners

From Coverage testing, it seems that current phpunit test doesn't check the same for ODM too. Do we need more Unit tests, that explicit test ODM?

jordisala1991 commented 1 year ago

Thanks @Hanmac