Remove closing tags from pure PHP files

This commit is contained in:
Alex Cabal 2019-04-03 16:25:00 -05:00
parent 0cd89eb10c
commit def275ab3c
21 changed files with 2 additions and 20 deletions

View file

@ -109,6 +109,8 @@ Before submitting design contributions, please discuss them with the Standard Eb
preg_replace('|</foo>|ius', '</bar>', $text);
````
- Omit closing PHP tags in files that are pure PHP.
- Language constructs that can optionally have curly braces (like `if`) should always have curly braces.
Good: