diff --git a/Coding-style-policy.md b/Coding-style-policy.md new file mode 100644 index 0000000..c17728f --- /dev/null +++ b/Coding-style-policy.md @@ -0,0 +1,29 @@ +_**WORK IN PROGRESS: nothing described here should be considered as definitive**_ +## Indentation + +Use two space characters for each indentation level +```PHP +if ( true ){ + echo true; +else{ + echo false; +} +``` +## Trailing white spaces + +Lines must be trimmed of any trailing white spaces + +## Line length + +Lines must be limited to 80 characters + +## Variables, functions, methods and class naming + +```PHP +var $thisVariable; +function thisFunction(){} +class thisClass { + function thisMethod(){} +} +``` +