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

[Messenger] "login" falsely reported as invalid option #37618

Closed
Tobion opened this issue Jul 20, 2020 · 0 comments · Fixed by #38612
Closed

[Messenger] "login" falsely reported as invalid option #37618

Tobion opened this issue Jul 20, 2020 · 0 comments · Fixed by #38612

Comments

@Tobion
Copy link
Member

Tobion commented Jul 20, 2020

Symfony version(s) affected: 5.1

Description
Since #34925

User Deprecated: Since symfony/messenger 5.1: Invalid option(s) "login" passed to the AMQP Messenger transport. Passing invalid options is deprecated.

But login is a valid option that being used by \AMQPConnection::__construct, see also

$amqpOptions['login'] = $parsedUrl['user'];

@Tobion Tobion added the Bug label Jul 20, 2020
nicolas-grekas added a commit that referenced this issue Oct 19, 2020
This PR was merged into the 5.1 branch.

Discussion
----------

[Messenger/Amqp] Allow setting option "login" in DSN

| Q             | A
| ------------- | ---
| Branch?       | 5.1
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #37618
| License       | MIT
| Doc PR        |

Commits
-------

43c0577 Allow setting AMQP option "login"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants