]> git.mxchange.org Git - friendica.git/commitdiff
Updated documentation with the new coding standard
authorHypolite Petovan <mrpetovan@gmail.com>
Thu, 8 Jun 2017 02:01:27 +0000 (22:01 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Thu, 8 Jun 2017 02:01:27 +0000 (22:01 -0400)
doc/Developers-Intro.md

index 3cda8ab4662b96bac0a3a5c75b3c5df025cfe9e3..137e5aaf544420e17ec9141e9798f41fe8fc2e8e 100644 (file)
@@ -64,6 +64,7 @@ Here's a few primers if you are new to Friendica or to the PSR-2 coding standard
  * 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'`
  * Braces are mandatory in conditions
+ * Boolean operators are `&&` and `||` for PHP conditions, `AND` and `OR` for SQL queries
  * No closing PHP tag
  * No trailing spaces