-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Debug] Do not quote numbers in stack trace #19079
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
Conversation
670bd75
to
c560ce5
Compare
@@ -1,6 +1,11 @@ | |||
UPGRADE FROM 3.x to 4.0 | |||
======================= | |||
|
|||
Debug | |||
----- | |||
* `FlattenException::getTrace()` now returns additional type descriptions |
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.
missing empty line after the title
c560ce5
to
9cb6bcc
Compare
What about just removing the |
@fabpot I'm not sure which cast you are referring to? If we remove the cast in If we remove the cast in |
In |
9cb6bcc
to
9b708c2
Compare
Like this? |
I also changed the flags for |
Yes! New integer and float types can be removed now. |
It seems wrong to label integers and floats as |
|
||
* `FlattenException::getTrace()` now returns additional type descriptions | ||
`integer` and `float`. | ||
|
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.
This information should also be in the changelog.
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.
@xabbuh I am confused about the branching/release strategy and how changes such as this one are handled. I suppose the change will be included in Symfony 3.2 (and no previous versions), right? Which changelog file should I add it to? The newest CHANGELOG file in the master branch is for 3.1.
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.
Wer only have one changelog Liter (damn you auto-completion) per component. You can just start a new section by adding a new headline.
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.
@xabbuh Done. I hope I got it right.
@c960657 Right |
9b708c2
to
fb10b33
Compare
Thank you @c960657. |
This PR was merged into the 3.2-dev branch. Discussion ---------- [Debug] Do not quote numbers in stack trace | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | yes | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | In the debug output from the exception handler, integers and floats are quoted. This adds unnecessary noise to the error page and is just wrong. Fixing this requires introduces two new type descriptions in the output from getTrace(), so the change is not fully backwards compatible. Commits ------- fb10b33 [Debug] Do not quote numbers in stack trace
This PR was merged into the 3.2-dev branch. Discussion ---------- [Debug] fix resource type test on HHVM | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #19079 | License | MIT | Doc PR | Commits ------- 2d03ee8 [Debug] fix resource type test on HHVM
In the debug output from the exception handler, integers and floats are quoted. This adds unnecessary noise to the error page and is just wrong.
Fixing this requires introduces two new type descriptions in the output from getTrace(), so the change is not fully backwards compatible.