From 1b92cb40b5824f7f28a383a52fbe2e7ef4f856fa Mon Sep 17 00:00:00 2001 From: pmaziere Date: Tue, 23 Aug 2016 22:44:17 +0200 Subject: [PATCH] Updated Coding style policy (markdown) --- Coding-style-policy.md | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/Coding-style-policy.md b/Coding-style-policy.md index 74772aa..e17f89f 100644 --- a/Coding-style-policy.md +++ b/Coding-style-policy.md @@ -1,25 +1,40 @@ _**WORK IN PROGRESS: nothing described here should be considered as definitive or mandatory**_ ## Indentation -Use two space characters for each indentation level -```PHP +* Proposal 1 + + Use two space characters for each indentation level + ```PHP if ( true ){ echo true; else{ echo false; } ``` + +* Next proposal here + ## Trailing white spaces -Lines must be trimmed of any trailing white spaces +* Proposal 1 + + Lines must be trimmed of any trailing white spaces + +* Next proposal here ## Line length -Lines must be limited to 80 characters +* Proposal 1 + + Lines must be limited to 80 characters + +* Next proposal here ## Variables, functions, methods and class naming -```PHP +* Proposal 1 + + ```PHP var $thisVariable; function thisFunction(){} class thisClass { @@ -27,3 +42,4 @@ class thisClass { } ``` +* Next proposal here \ No newline at end of file