Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Doctrine subscriber deprecations #738

Merged
merged 2 commits into from
Jul 13, 2023

Conversation

loic425
Copy link
Member

@loic425 loic425 commented Jul 13, 2023

Q A
Bug fix? yes (deprecations)
New feature? no
BC breaks? no
Deprecations? yes and UPGRADE.md has been updated
Related tickets fixes #736
License MIT

@loic425 loic425 requested a review from a team as a code owner July 13, 2023 08:24
@loic425 loic425 changed the base branch from 1.11 to 1.10 July 13, 2023 08:24
@loic425 loic425 force-pushed the fix/doctrine-subscriber-deprecations branch from 13bb9f0 to 3491746 Compare July 13, 2023 09:10
@loic425 loic425 changed the base branch from 1.10 to 1.11 July 13, 2023 09:10
@loic425
Copy link
Member Author

loic425 commented Jul 13, 2023

@lchrusciel Maybe should we keep the public methods for user decorations.

@@ -26,7 +24,7 @@
use Sylius\Component\Resource\Translation\TranslatableEntityLocaleAssignerInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;

final class ORMTranslatableListener implements EventSubscriber
final class ORMTranslatableListener
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
final class ORMTranslatableListener
final class ORMTranslatableListener implements AbstractDoctrineSubscriber

@loic425 loic425 force-pushed the fix/doctrine-subscriber-deprecations branch from 3491746 to c994b84 Compare July 13, 2023 16:05
@lchrusciel lchrusciel merged commit 8288dbf into Sylius:1.11 Jul 13, 2023
@lchrusciel
Copy link
Member

Thank you, @loic425!

@loic425 loic425 deleted the fix/doctrine-subscriber-deprecations branch July 13, 2023 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Symfony 6.3 deprecation doctrine subscribers
3 participants