1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-02 22:57:26 +02:00

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