Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Messenger] Remove the "obscure" message subscriber configuration #28294

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

Merged

Conversation

sroze
Copy link
Contributor

@sroze sroze commented Aug 28, 2018

Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? yes
Deprecations? no
Tests pass? yes
Fixed tickets ø
License MIT
Doc PR ø

As described in #28275, all of the configuration can be done using yield and that we could remove the support for other ways (especially the obscure return [['method', -10]] syntax) as I believe this would clarify the configuration a lot.

@fabpot
Copy link
Member

fabpot commented Aug 29, 2018

Thank you @sroze.

@fabpot fabpot merged commit cf2ad86 into symfony:master Aug 29, 2018
fabpot added a commit that referenced this pull request Aug 29, 2018
…nfiguration (sroze)

This PR was merged into the 4.2-dev branch.

Discussion
----------

[Messenger] Remove the "obscure" message subscriber configuration

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | yes
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | ø
| License       | MIT
| Doc PR        | ø

As described in #28275, all of the configuration can be done using yield and that we could remove the support for other ways (especially the obscure return `[['method', -10]]` syntax) as I believe this would clarify the configuration a lot.

Commits
-------

cf2ad86 Remove the "obscure" message subscriber configuration
@sroze sroze deleted the remove-obscure-subscriber-configuration-method branch August 29, 2018 15:28
@javiereguiluz
Copy link
Member

I've created symfony/symfony-docs#10278 to document this new feature. Please, don't forget to create a doc issue for every new feature.

The Messenger component docs are not great yet, so I don't know if this was documented and we need to change it or it was never documented and need to add it. Thanks!

This was referenced Nov 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants