bug #26980 [TwigBundle] fix formatting arguments in plaintext format (xabbuh)
This PR was merged into the 3.4 branch.
Discussion
----------
[TwigBundle] fix formatting arguments in plaintext format
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
Commits
-------
f1c1d36fda
fix formatting arguments in plaintext format
This commit is contained in:
commit
e98454664a
@ -1,5 +1,5 @@
|
||||
{% if trace.function %}
|
||||
at {{ trace.class ~ trace.type ~ trace.function }}({{ trace.args|format_args }})
|
||||
at {{ trace.class ~ trace.type ~ trace.function }}({{ trace.args|format_args_as_text }})
|
||||
{%- endif -%}
|
||||
{% if trace.file|default('') is not empty and trace.line|default('') is not empty %}
|
||||
{{- trace.function ? '\n (' : 'at '}}{{ trace.file|format_file(trace.line)|striptags|replace({ (' at line ' ~ trace.line): '' }) }}:{{ trace.line }}{{ trace.function ? ')' }}
|
||||
|
Reference in New Issue
Block a user