Messenger multiple failed transports

by @monteiro

Some issues have been detected in this pull request

0
Coding Standard

0
Common Typos

0
License Headers

0
Pull Request Contributor Headers

0
YAML Files Syntax

0
File Permissions

0
Merge Commits

Issues that can be fixed by applying a patch

Review the proposed patch then download it to apply it manually or execute the following command from the repository root directory:

curl https://fabbot.io/patch/symfony/symfony/38468/85f53d9f4cb50941814eca6f328c8d811f9bb0a3/exception_messages.diff | patch -p0
diff -ru src/Symfony/Component/Messenger/DependencyInjection/MessengerPass.php src/Symfony/Component/Messenger/DependencyInjection/MessengerPass.php
--- src/Symfony/Component/Messenger/DependencyInjection/MessengerPass.php	2020-10-16 16:20:50.664081224 +0000
+++ src/Symfony/Component/Messenger/DependencyInjection/MessengerPass.php	2020-10-16 16:21:02.286101498 +0000
@@ -130,7 +130,7 @@
                     if ('*' !== $message && !class_exists($message) && !interface_exists($message, false)) {
                         $messageLocation = isset($tag['handles']) ? 'declared in your tag attribute "handles"' : ($r->implementsInterface(MessageSubscriberInterface::class) ? sprintf('returned by method "%s::getHandledMessages()"', $r->getName()) : sprintf('used as argument type in method "%s::%s()"', $r->getName(), $method));
 
-                        throw new RuntimeException(sprintf('Invalid handler service "%s": class or interface "%s" %s not found.', $serviceId, $message, $messageLocation));
+                        throw new RuntimeException(sprintf('Invalid handler service "%s": class or interface "%s" "%s" not found.', $serviceId, $message, $messageLocation));
                     }
 
                     if (!$r->hasMethod($method)) {