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
Replace unmaintained SQL formatter dependency #1171
Replace unmaintained SQL formatter dependency #1171
Conversation
da86a35
to
b4d75bd
Compare
Twig/DoctrineExtension.php
Outdated
HtmlHighlighter::HIGHLIGHT_ERROR => 'class="error"', | ||
HtmlHighlighter::HIGHLIGHT_COMMENT => 'class="comment"', | ||
HtmlHighlighter::HIGHLIGHT_VARIABLE => 'class="variable"', | ||
], false)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this change, I make the assumption that this isn't used in the CLI context. This allows us to add some tests.
I'm not sure it's ok to merge this into 1.12. I think at least @alcaeus would mind that. And I'm also leaning to merge this for master only, it might be too risky to do it in 1.12 while we don't have problems with current formatter. If we had some problems, eg. with php 8 compatibility, then I would be fully on board with this. |
I'd advocate to only merge this into 2.1 for the upcoming release. |
b4d75bd
to
5f63db6
Compare
Fine by me. |
5f63db6
to
1d1fc3e
Compare
1d1fc3e
to
108292b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really good job @greg0ire, thx
Closes #785