[Messenger] Allow to skip message in `FailedMessagesRetryCommand`

by @Kazadri

Some issues have been detected in this pull request

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/57270/7ec6914750667cb9b6b029067876c544a8ccd4ca/cs.diff | patch -p0
diff -ru src/Symfony/Component/Messenger/Tests/Command/FailedMessagesRetryCommandTest.php src/Symfony/Component/Messenger/Tests/Command/FailedMessagesRetryCommandTest.php
--- src/Symfony/Component/Messenger/Tests/Command/FailedMessagesRetryCommandTest.php	2024-09-03 11:58:51.873954000 +0000
+++ src/Symfony/Component/Messenger/Tests/Command/FailedMessagesRetryCommandTest.php	2024-09-03 11:58:55.215073342 +0000
@@ -241,7 +241,7 @@
 
         $receiver->expects($this->once())->method('find')
             ->willReturn(Envelope::wrap(new \stdClass(), [
-                new SentToFailureTransportStamp($originalTransportName)
+                new SentToFailureTransportStamp($originalTransportName),
             ]));
 
         $receiver->expects($this->never())->method('ack');

0
Common Typos

0
License Headers

0
Pull Request Contributor Headers

0
File Permissions

0
Merge Commits

0
Exception Messages Formatting

0
Usage of void in test files

0
Use ::class whenever possible

0
Deprecation Messages