-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Debug] Restoring back the state of the Debug component (1st step) #32377
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
ErrorRendeder instead of ErrorDumper? |
I will also remove from the current Status: Needs Work |
Status: Needs Review (low/high Travis's failures are gone after merge) |
That one is nice too. Personally, I like |
Thanks Nicolas! now Travis's low tests pass. Status: Needs Review |
It would make sense to me to remove error-catcher from the composer.json of the Debug component. |
6c7570c
to
fa47beb
Compare
@nicolas-grekas it's done now, thanks. |
fa47beb
to
eda49e2
Compare
Thank you @yceruto. |
…(1st step) (yceruto) This PR was squashed before being merged into the 4.4 branch (closes #32377). Discussion ---------- [Debug] Restoring back the state of the Debug component (1st step) | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | yes | Tests pass? | yes | Fixed tickets | #32371 | License | MIT After a good discussion with @nicolas-grekas, we made the decision to split the current `ErrorCatcher` component into several: * `ErrorHandler` it would be the Debug component before these changes #31065, with everything related to ErrorHandler, Debug, DebugClassLoader classes and change its name. * `ErrorDumper` it would be the current ErrorCatcher but with FlattenException + the new error renderer system only. This is the first step, then we can deprecate everything for the Debug component in favor of the ErrorHandler and ErrorDumper components, **BUT without moving any code !!**, that would give us more freedom to do it correctly in the new components. NOTE: For this PR I've copy the `Debug` component directory from the revision prior to merged commit #31065 in 4.4 branch. Commits ------- eda49e2 [Debug] Restoring back the state of the Debug component (1st step)
…nly) (yceruto) This PR was squashed before being merged into the 4.4 branch (closes #32470). Discussion ---------- Rename ErrorCatcher to ErrorRenderer (rendering part only) | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Follow up #32377 Commits ------- fb5b042 Rename ErrorCatcher to ErrorRenderer (rendering part only)
…nly) (yceruto) This PR was squashed before being merged into the 4.4 branch (closes #32470). Discussion ---------- Rename ErrorCatcher to ErrorRenderer (rendering part only) | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Follow up symfony/symfony#32377 Commits ------- fb5b0429b2 Rename ErrorCatcher to ErrorRenderer (rendering part only)
…nly) (yceruto) This PR was squashed before being merged into the 4.4 branch (closes #32470). Discussion ---------- Rename ErrorCatcher to ErrorRenderer (rendering part only) | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Follow up symfony/symfony#32377 Commits ------- fb5b042 Rename ErrorCatcher to ErrorRenderer (rendering part only)
…nly) (yceruto) This PR was squashed before being merged into the 4.4 branch (closes #32470). Discussion ---------- Rename ErrorCatcher to ErrorRenderer (rendering part only) | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Follow up symfony/symfony#32377 Commits ------- fb5b0429b2 Rename ErrorCatcher to ErrorRenderer (rendering part only)
…nly) (yceruto) This PR was squashed before being merged into the 4.4 branch (closes #32470). Discussion ---------- Rename ErrorCatcher to ErrorRenderer (rendering part only) | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Follow up symfony/symfony#32377 Commits ------- fb5b0429b2 Rename ErrorCatcher to ErrorRenderer (rendering part only)
…nly) (yceruto) This PR was squashed before being merged into the 4.4 branch (closes #32470). Discussion ---------- Rename ErrorCatcher to ErrorRenderer (rendering part only) | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Follow up symfony/symfony#32377 Commits ------- fb5b0429b2 Rename ErrorCatcher to ErrorRenderer (rendering part only)
After a good discussion with @nicolas-grekas, we made the decision to split the current
ErrorCatcher
component into several:ErrorHandler
it would be the Debug component before these changes Add ErrorHandler component #31065, with everything related to ErrorHandler, Debug, DebugClassLoader classes and change its name.ErrorDumper
it would be the current ErrorCatcher but with FlattenException + the new error renderer system only.This is the first step, then we can deprecate everything for the Debug component in favor of the ErrorHandler and ErrorDumper components, BUT without moving any code !!, that would give us more freedom to do it correctly in the new components.
NOTE: For this PR I've copy the
Debug
component directory from the revision prior to merged commit #31065 in 4.4 branch.