1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-06-09 16:15:48 +02:00

Updated Coding style policy (markdown)

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

@ -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