From 98d105158339de85edea7f356a58d4c125af18e6 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 7 Jun 2017 22:01:27 -0400 Subject: [PATCH] Updated documentation with the new coding standard --- doc/Developers-Intro.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/Developers-Intro.md b/doc/Developers-Intro.md index 3cda8ab466..137e5aaf54 100644 --- a/doc/Developers-Intro.md +++ b/doc/Developers-Intro.md @@ -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