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
HandlerFailedException::getNestedExceptions has been removed and replaced with HandlerFailedException::getWrappedExceptions
I actually did not use this ExceptionLogger during the upgrade, and PHPStan only runs on PHP 8.1 which will not run on Symfony 7.
Any suggestions on how you want to see this fixed? Do a version check on Kernel::MAJOR_VERSION or method_exists or do you have any other suggestions?
The text was updated successfully, but these errors were encountered:
starred-gijs
changed the title
Call to undefined method Symfony\\Component\\Messenger\\Exception\\HandlerFailedException::getNestedExceptions()
Call to undefined method HandlerFailedException::getNestedExceptions()
Mar 18, 2024
During the PR to support Symfony 7 in #10 I did miss one BC break in the
ExceptionLogger
https://github.com/Happyr/bref-messenger-failure-strategies/blob/0.5.0/src/ExceptionLogger.php#L36HandlerFailedException::getNestedExceptions
has been removed and replaced withHandlerFailedException::getWrappedExceptions
I actually did not use this
ExceptionLogger
during the upgrade, and PHPStan only runs on PHP 8.1 which will not run on Symfony 7.Any suggestions on how you want to see this fixed? Do a version check on
Kernel::MAJOR_VERSION
ormethod_exists
or do you have any other suggestions?The text was updated successfully, but these errors were encountered: