-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Notifier] unsupported options exception #59234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Notifier] unsupported options exception #59234
Conversation
Thanks, you need to raise the minimum |
0a5d2c9
to
a8ca2d6
Compare
@OskarStark like this ? 🤔 |
src/Symfony/Component/Notifier/Exception/UnsupportedOptionsException.php
Outdated
Show resolved
Hide resolved
maybe we should also add the type that was actually passed as part of the exception message |
I did it at first, inspired by the \Symfony\Component\Notifier\Exception\UnsupportedMessageTypeException and then I saw that all the existing exception had the same format so I reused it. |
@xabbuh Done ✅ (reused the format of the \Symfony\Component\Notifier\Exception\UnsupportedMessageTypeException) |
src/Symfony/Component/Notifier/Exception/UnsupportedOptionsException.php
Outdated
Show resolved
Hide resolved
e496f5f
to
27dfb8c
Compare
Thank you @raphael-geffroy. |
Thanks to you @OskarStark @xabbuh @fabpot 🫶 |
Streamline one more exception for the bridges regarding option classes.