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

[Bridge][Twig] DebugCommand - fix escaping and filter #30660

Merged
merged 1 commit into from Mar 31, 2019

Conversation

SpacePossum
Copy link
Contributor

Q A
Branch? 3.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
License MIT

The PR fixes:

  • output escaping was not done for decorated consoles
  • filter was not applied when using format json
  • added some tests for paths currently not tested

Copy link
Member

@fabpot fabpot left a comment

Choose a reason for hiding this comment

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

with a typo to be fixed before merging.

src/Symfony/Bridge/Twig/Command/DebugCommand.php Outdated Show resolved Hide resolved
@fabpot
Copy link
Member

fabpot commented Mar 31, 2019

Thank you @SpacePossum.

@fabpot fabpot merged commit 7bdb066 into symfony:3.4 Mar 31, 2019
fabpot added a commit that referenced this pull request Mar 31, 2019
…cePossum)

This PR was squashed before being merged into the 3.4 branch (closes #30660).

Discussion
----------

[Bridge][Twig] DebugCommand - fix escaping and filter

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

The PR fixes:
- output escaping was not done for decorated consoles
- filter was not applied when using format json

+ added some tests for paths currently not tested

Commits
-------

7bdb066 [Bridge][Twig] DebugCommand - fix escaping and filter
@SpacePossum SpacePossum deleted the 3_4_Twig_DebugCommand.php branch March 31, 2019 13:31
@nicolas-grekas
Copy link
Member

@SpacePossum I did not merge your patch on the bridge in 4.2 because I couldn't figure out how to resolve merge conflicts. Could you please send a PR against 4.2?

@SpacePossum
Copy link
Contributor Author

sure thing @nicolas-grekas , please see #30811

fabpot added a commit that referenced this pull request Apr 1, 2019
…pacePossum)

This PR was merged into the 4.2 branch.

Discussion
----------

[Bridge][Twig] DebugCommand - fix escaping and filter

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

cherry-pick on 4.2, conflicts resolved, original PR  #30660 (comment)

Commits
-------

b7120c5 [Bridge][Twig] DebugCommand - fix escaping and filter
This was referenced Apr 2, 2019
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.

None yet

4 participants