Skip to content
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

[VarDumper] Fix dumping Twig source in stack traces #20326

Merged
merged 1 commit into from
Oct 27, 2016

Conversation

nicolas-grekas
Copy link
Member

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

{
parent::__construct($env);
if (null !== $env) {
Copy link
Contributor

Choose a reason for hiding this comment

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

if ($env)

@javiereguiluz
Copy link
Member

I've tested this PR and the new output is quite different from the one reported in #20320. However, I think that this new output makes it more difficult to understand what's going on (and there are some design issues, such as the different font families applied to the output):

deprecation_stack_trace

@nicolas-grekas
Copy link
Member Author

@javiereguiluz please open a new issue or a PR (esp. for the font issue, which is not intentional)

@fabpot
Copy link
Member

fabpot commented Oct 27, 2016

Thank you @nicolas-grekas.

@fabpot fabpot merged commit f16d44d into symfony:2.8 Oct 27, 2016
fabpot added a commit that referenced this pull request Oct 27, 2016
…as-grekas)

This PR was merged into the 2.8 branch.

Discussion
----------

[VarDumper] Fix dumping Twig source in stack traces

| Q             | A
| ------------- | ---
| Branch?       | 2.8
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #20320
| License       | MIT
| Doc PR        | -

Commits
-------

f16d44d [VarDumper] Fix dumping Twig source in stack traces
@nicolas-grekas nicolas-grekas deleted the dump-fix branch October 27, 2016 16:32
This was referenced Nov 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants