From 3c70ece4c953aa11a06736e0d8bdde97e4a244a3 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Fri, 10 Jul 2015 09:37:58 +0200 Subject: add small coding guidelines block --- CONTRIBUTING.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'CONTRIBUTING.md') diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 53e6c312b..ece7e1801 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -68,6 +68,15 @@ We usually hang out on **irc.freenode.net** in the **#owncloud-news** and **#own You can also send a mail to the [owncloud-devel mailing list](https://mailman.owncloud.org/mailman/listinfo/devel). +### Coding Style Guidelines + +* Use 4 spaces for indention +* Place the open curly braces on the same line as the parameter block, e.g.: + + if (condition) { + +* place a space before and after the parameter block for if, else, for, foreach, function + ### Project structure The project is structured in the following way: -- cgit v1.2.3