summaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index ece7e1801..590d8373e 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -72,10 +72,15 @@ You can also send a mail to the [owncloud-devel mailing list](https://mailman.ow
* Use 4 spaces for indention
* Place the open curly braces on the same line as the parameter block, e.g.:
-
+ ```php
if (condition) {
+ // code
+ } else {
+ // code
+ }
+ ```
-* place a space before and after the parameter block for if, else, for, foreach, function
+* 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: