mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-29 15:14:54 +02:00
fixed messed up markdown formatting
parent
45a8d71f8f
commit
c0e559aed4
1 changed files with 16 additions and 15 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue