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

Support extended white space control operators in Twig templates #62

Closed
Chi-teck opened this issue May 22, 2019 · 1 comment
Closed

Comments

@Chi-teck
Copy link
Contributor

Those have been added recently.
twigphp/Twig#2925

Example:

  {%~ if foo ~%}
Test
  {%~ endif ~%}

The above code produces the following Twigcs violations.

  • ERROR There should be 1 space(s) after opening a block.
  • ERROR There should be 1 space(s) before closing a block.
  • ERROR There should be 1 space(s) before "~".
  • ERROR There should be 1 space(s) after "~".
  • ERROR There should be 1 space(s) after opening a block.
  • ERROR There should be 1 space(s) before closing a block.
  • ERROR There should be 1 space(s) before "~".
  • ERROR There should be 1 space(s) after "~".
@OwlyCode
Copy link
Collaborator

This is on master, and scheduled for next beta version.

@OwlyCode OwlyCode added this to the 4.0.0 milestone Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants