mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 10:02:02 -04:00
Remove closing tags from pure PHP files
This commit is contained in:
parent
0cd89eb10c
commit
def275ab3c
21 changed files with 2 additions and 20 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue