Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[WIP] Better exception page #15792

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

Closed
wants to merge 6 commits into from
Closed

Conversation

hason
Copy link
Contributor

@hason hason commented Sep 14, 2015

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass?
Fixed tickets
License MIT
Doc PR

<tag name="exception.processor" />
</service>

<service id="debug.arguments_processor" class="Symfony\Component\Debug\ArgumentsFlattenExceptionProcessor" public="false">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would name them debug.exception_processor.* instead, to group related services

@hason hason force-pushed the exc branch 3 times, most recently from 3e53160 to cae0933 Compare September 15, 2015 15:00
use Symfony\Component\DependencyInjection\Reference;

/**
* Registers the code highlighters.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registers -> Register?

@OskarStark
Copy link
Contributor

nice work 👍

*
* @param array $trace The trace
*/
public function replaceTrace($trace)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about adding an array type hint instead of casting to (array)?

@nicolas-grekas
Copy link
Member

@hason I think that by using VarDumper's casters+cloners, you could remove almost all the flattener+processor abstraction. This would be a pretty big change for this PR thought...
Could you please look at #15838 to see if rebasing on top of it is something that could be considered?

@nicolas-grekas nicolas-grekas added the DX DX = Developer eXperience (anything that improves the experience of using Symfony) label Sep 19, 2015
@ghost
Copy link

ghost commented Oct 26, 2015

@hason Any updates?

@fabpot
Copy link
Member

fabpot commented Feb 18, 2016

Closing as there is no recent update and many comments that would need to be fixed. It does not apply cleanly either. @hason Feel free to reopen a new PR on master when you have time. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX DX = Developer eXperience (anything that improves the experience of using Symfony) Status: Needs Work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants