Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Add a new ErrorHandler component (mirror of the Debug component)#32471
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
yceruto commentedJul 10, 2019
The PhpUnit bridge was affected here, hence the failures in Debug & ErrorHandler. This is solved automatically after the merge. |
bdc7b48 to1b48738Compare009cd5a tob842ad9Comparenicolas-grekas commentedJul 11, 2019
rebase needed |
nicolas-grekas commentedJul 11, 2019
Don'tmiss updating the root composer.json file. |
b842ad9 toca9ad2bCompareyceruto commentedJul 11, 2019
Done! |
nicolas-grekas 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.
What about failures?
Uh oh!
There was an error while loading.Please reload this page.
| "require": { | ||
| "php":"^7.1.3", | ||
| "psr/log":"~1.0", | ||
| "symfony/error-renderer":"^4.4|^5.0" |
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.
something we might want to relax later on
yceruto commentedJul 11, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Let's see after#32471 (comment) what happen |
f29cec4 to3d94a91CompareUh 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.
Uh oh!
There was an error while loading.Please reload this page.
3d94a91 to8201718Compareyceruto commentedJul 11, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
The problem with failed tests is related to these changes, because phpunit is still installing the old version (with Debug\DebugClassLoader). But I fixed it to make it pass after the merge, when both are together, where the ErrorHandler\DebugClassLoader wins. |
yceruto commentedJul 11, 2019
Maybe you have another solution? |
8201718 toe9b10afCompareyceruto commentedJul 12, 2019
@nicolas-grekas I fixed the failed tests, AppVeyor's failures are unrelated, I guess, and Travis's (high) is normal. Status: Needs Review |
Tobion commentedJul 13, 2019
What's the goal of this? It's just a renaming? |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
| * | ||
| * @return static | ||
| */ | ||
| publicstaticfunctionregister($debug =true,$charset =null,$fileLinkFormat =null) |
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 types in all of the new ErrorHandler component
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.
I gonna make those changes in another PR with that goal, where we can see the diff clearer, now that would complicate the review unnecessary.
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.
I agree with yceruto. Adding the ErrorHandler component is a big PR. So we should take care type-hints in an another one.
Tobion commentedJul 15, 2019
What do we gain from this apart from the slightly better fitting name? This will affect everyone and there is no automatic update because the Debug class is part of every front controller which is part of flex. I think some more justification would be good. |
nicolas-grekas commentedJul 16, 2019
I see two major gains:
|
0c5070f tob1b6e80Comparefabpot commentedJul 18, 2019
Thank you@yceruto. |
…component) (yceruto)This PR was squashed before being merged into the 4.4 branch (closes#32471).Discussion----------Add a new ErrorHandler component (mirror of the Debug component)| Q | A| ------------- | ---| Branch? | 4.4| Bug fix? | no| New feature? | yes| BC breaks? | no| Deprecations? | yes| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | -On top of#32470Commits-------b1b6e80 Add a new ErrorHandler component (mirror of the Debug component)
Uh oh!
There was an error while loading.Please reload this page.
On top of#32470