diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-07-10 09:37:58 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-07-10 09:37:58 +0200 |
commit | 3c70ece4c953aa11a06736e0d8bdde97e4a244a3 (patch) | |
tree | 9c1bcafb2adb03f1c8ac7cc12a7c62b924d91dd4 /CONTRIBUTING.md | |
parent | a6a3e511f7d546beaa9f7249ec2775ea802395d8 (diff) |
add small coding guidelines block
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 9 |
1 files changed, 9 insertions, 0 deletions
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: |