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

Remove Symfony 4 circular dependency exception listener fix #13528

Merged
merged 1 commit into from
Jan 26, 2022

Conversation

mmenozzi
Copy link
Contributor

Q A
Branch? master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets fixes #13525
License MIT

I removed two classes and its tests:

  • Sylius\Bundle\CoreBundle\DependencyInjection\Compiler\CircularDependencyBreakingExceptionListenerPass
  • Sylius\Bundle\CoreBundle\EventListener\CircularDependencyBreakingExceptionListener

The second one (the listener) was marked as @internal so it can be removed without breaking the BC promise. The first one was not marked as internal so its removal is a BC break.

Let me know what you prefer, its only job was to add the listener but we can also not remove it and leave it empty.

@mmenozzi mmenozzi requested a review from a team as a code owner January 24, 2022 10:30
@mmenozzi
Copy link
Contributor Author

mmenozzi commented Jan 24, 2022

@Zales0123 @lchrusciel let me know what you think.

@lchrusciel lchrusciel added Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.). Maintenance CI configurations, READMEs, releases, etc. labels Jan 26, 2022
@lchrusciel lchrusciel merged commit dda7c71 into Sylius:master Jan 26, 2022
@lchrusciel
Copy link
Member

Thanks, Manuele! 🎉

@lchrusciel
Copy link
Member

I've probably merged too quickly, but please add note about it in UPGRADE.md file. I don't see too much value in keeping it in the codebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.). Maintenance CI configurations, READMEs, releases, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove symfony/http-kernel 4 symbols usage
2 participants