**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 https://github.com/symfony/symfony/blob/8a7c776b92c92ef6867fdd6a1682171c17f76de1/src/Symfony/Component/Messenger/Bridge/Amqp/Transport/Connection.php#L191