You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…exist (xabbuh)
This PR was merged into the 5.2 branch.
Discussion
----------
[Messenger] prevent reflection usages when classes do not exist
| Q | A
| ------------- | ---
| Branch? | 5.2
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix#41748
| License | MIT
| Doc PR |
Commits
-------
017b4b3 prevent reflection usages when classes do not exist
Symfony version(s) affected: 5.3., 5.4.
Description
Caused by
ReflectionException: Class "Symfony\Component\Messenger\Bridge\Amqp\Transport\AmqpReceivedStamp" does not exist
How to reproduce
Download https://github.com/Warxcell/files and run tests.
Possible Solution
Move https://github.com/symfony/symfony/blob/5.3/src/Symfony/Component/Messenger/Middleware/RejectRedeliveredMessageMiddleware.php to https://github.com/symfony/symfony/tree/5.3/src/Symfony/Component/Messenger/Bridge/Amqp namespace, so it will be registered only if AMQP Bridge Package is installed.
The text was updated successfully, but these errors were encountered: