We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems this plugin does handle constant function correctly.
The following example code:
{% if post.status is constant('Post::PUBLISHED') %} the status attribute is exactly the same as Post::PUBLISHED {% endif %}
is incorrectly changed to:
{% if post.status is (Post::PUBLISHED) %} the status attribute is exactly the same as Post::PUBLISHED {% endif %}
Prettier command outputs the following message:
TestExpression: No text for TestConstantExpression defined
Versions used: Prettier 2.5.1 prettier-plugin-twig-melody 0.4.6
Any help with this topic would be much appreciated. Thank you.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It seems this plugin does handle constant function correctly.
The following example code:
is incorrectly changed to:
Prettier command outputs the following message:
Versions used:
Prettier 2.5.1
prettier-plugin-twig-melody 0.4.6
Any help with this topic would be much appreciated.
Thank you.
The text was updated successfully, but these errors were encountered: