-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] Make the messenger.reset_on_message config option default to true #43203
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
Conversation
Hey! To help keep things organized, we don't allow "Draft" pull requests. Could you please click the "ready for review" button or close this PR and open a new one when you are done? Note that a pull request does not have to be "perfect" or "ready for merge" when you first open it. We just want it to be ready for a first review. Cheers! Carsonbot |
I know nothing about merging between major branches in Symfony. So I need help to merge it properly. |
f57b9b2
to
93a5687
Compare
Hey! I think @micheh has recently worked with this code. Maybe they can help review this? Cheers! Carsonbot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The framework-bundle CHANGELOG needs an update to mention the removal.
Rebase needed. While doing so, please remove the |
93a5687
to
60feba2
Compare
@chalasr without the Did I something wrong? :) |
Indeed sorry, I've been fooled by the current PR title (remove...). Can you please update it so that it reflects what the PR does? |
My fault. Sorry for that |
5b6f48f
to
200783b
Compare
200783b
to
f4e379e
Compare
@chalasr 👋 |
@upyx hey :) This looks good to me except one minor detail: #43203 (review) |
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
Outdated
Show resolved
Hide resolved
@upyx Do you want us to finish this PR for you? Or are you in capacity to do it? |
@chalasr I'm in progress right now 🏃 |
f4e379e
to
e9ad45d
Compare
@upyx We are almost good here. The remaining test fixtures that use |
e9ad45d
to
05722f6
Compare
@chalasr Done 😉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The deprecation should only happen in 6.1.
Hm... OK. @fabpot Is it acceptable? |
I'm following the plan in #43133 (comment). More precisely, there isn't the default value of the option. The only assignment of options is indicating that default behavior will change. It might not be the best strategy. |
@upyx Looks like a plan. |
05722f6
to
e3eecd1
Compare
@chalasr<
6D40
/a> I removed the @fabpot The first part is done. |
Thank you @upyx. |
…sage config option (upyx) This PR was squashed before being merged into the 6.1 branch. Discussion ---------- [FrameworkBundle] Deprecate the messenger.reset_on_message config option | Q | A | ------------- | --- | Branch? | 6.1 | Bug fix? | no | New feature? | no | Deprecations? | yes | Tickets | Continues #43203 (comment) | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> Commits ------- 6591c8f [FrameworkBundle] Deprecate the messenger.reset_on_message config option
It changes the "framework.messenger.reset_on_message" configuration option to true and changes deprecation warnings.
It's waiting fixes from #43202