Updated Coding style policy (markdown)

pmaziere 2016-08-23 22:44:17 +02:00
parent 7c2a24113c
commit 1b92cb40b5

@ -1,6 +1,8 @@
_**WORK IN PROGRESS: nothing described here should be considered as definitive or mandatory**_
## Indentation
* Proposal 1
Use two space characters for each indentation level
```PHP
if ( true ){
@ -9,16 +11,29 @@ else{
echo false;
}
```
* Next proposal here
## Trailing white spaces
* Proposal 1
Lines must be trimmed of any trailing white spaces
* Next proposal here
## Line length
* Proposal 1
Lines must be limited to 80 characters
* Next proposal here
## Variables, functions, methods and class naming
* Proposal 1
```PHP
var $thisVariable;
function thisFunction(){}
@ -27,3 +42,4 @@ class thisClass {
}
```
* Next proposal here