From c0e559aed426b7aba7a08ff572fc8923bc08eb24 Mon Sep 17 00:00:00 2001 From: metaMMA Date: Sat, 5 Aug 2017 03:55:20 -0500 Subject: [PATCH] fixed messed up markdown formatting --- Coding-style-policy.md | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/Coding-style-policy.md b/Coding-style-policy.md index 4c95d1f..792a3ff 100644 --- a/Coding-style-policy.md +++ b/Coding-style-policy.md @@ -5,12 +5,12 @@ _**WORK IN PROGRESS: nothing described here should be considered as definitive o Use two space characters for each indentation level ```PHP -if ( true ){ -__echo true; -else{ -__echo false; -} -``` + if ( true ){ + echo true; + } else{ + echo false; + } + ``` * Proposal 2 @@ -18,7 +18,7 @@ __echo false; ```PHP if(true){ echo true; - } else { + } else{ echo false; } ``` @@ -43,13 +43,13 @@ __echo false; * Proposal 1 - ```PHP -var $thisVariable; -function thisFunction(){} -class thisClass { - function thisMethod(){} -} -``` + ```PHP + var $thisVariable; + function thisFunction(){} + class thisClass { + function thisMethod(){} + } + ``` * Proposal 2 @@ -58,4 +58,5 @@ class thisClass { function this_function(){} // lower-case & underscore ('_') class ThisClass { // UpperCamelCase (PascalCase) function ThisMethod(){} // UpperCamelCase (PascalCase) - } \ No newline at end of file + } + ``` \ No newline at end of file