Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Messenger] Fix JSON deserialization of ErrorDetailsStamp and normalization of FlattenException::$statusText#39004
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Jean85 commentedNov 5, 2020
@Nyholm you said in#38792 (comment) that we don't use What should I do? |
Nyholm commentedNov 6, 2020
@yceruto could you have a look at this PR please? |
yceruto commentedNov 6, 2020
There is a Did you find a new problem after this fix#38941? |
src/Symfony/Component/Messenger/Tests/Stamp/ErrorDetailsStampTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
yceruto left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Tests are still failing, please take a look. Thanks!
src/Symfony/Component/Messenger/Tests/Command/FailedMessagesShowCommandTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Messenger/Tests/Command/FailedMessagesShowCommandTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Messenger/Tests/Command/FailedMessagesShowCommandTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
| */ | ||
| publicfunction__construct( | ||
| string$exceptionClass, | ||
| $exceptionCode, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
int?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
It was documented asint|mixed, probably for the same reason asvimeo/psalm#3175
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
…zation of FlattenException::$statusText
b5f9889 to9af554cComparefabpot commentedNov 10, 2020
Thank you@Jean85. |
Uh oh!
There was an error while loading.Please reload this page.
WIPThis is now complete and, thanks to@yceruto, I've fixed two bugs in this PR:ErrorDetailsStampcouldn't be (de)serialized properly with that constructor argumentFlattenException::$statusTextwasn't (de)normalized