symfony/symfony — Issue #2961: check_cs incompatible with javascript
Author: drak
Created: 2011-12-26 03:02:00+00:00
State: open

The `check_cs` script scan `.twig` files which may contain javascript. However, javascript syntax for `else if` requires a space which conflicts with the coding standards checks. Either the script should change to exclude `.twig` files or the coding standard should be amended to include a space in `else if`.