Fix Issue #2301 - Typos
This commit is contained in:
parent
077f69d00d
commit
68a39539ab
1 changed files with 2 additions and 2 deletions
|
@ -55,8 +55,8 @@ For the sake of consistency between contribution and general code readability, F
|
||||||
|
|
||||||
Here's a few primers if you are new to the PSR-2 coding standards:
|
Here's a few primers if you are new to the PSR-2 coding standards:
|
||||||
* Indentation is 4 spaces, period.
|
* Indentation is 4 spaces, period.
|
||||||
* By default, strings are enclosed in single quotes, but fell free to use double quotes if it makes more sense.
|
* By default, strings are enclosed in single quotes, but feel free to use double quotes if it makes more sense (SQL queries, adding tabs and line feeds).
|
||||||
* Operators are wrapped by spaces, e.g. `$var === true`, `$var = 1 + 2` and `'string' . $concat' . 'enation'`
|
* Operators are wrapped by spaces, e.g. `$var === true`, `$var = 1 + 2` and `'string' . $concat . 'enation'`
|
||||||
* Braces are mandatory in conditions
|
* Braces are mandatory in conditions
|
||||||
* No closing PHP tag
|
* No closing PHP tag
|
||||||
* No trailing spaces
|
* No trailing spaces
|
||||||
|
|
Loading…
Reference in a new issue