Skip to content

Commit faa306e

Browse files
helmoThom
authored andcommitted
Minor md tweaks
1 parent 8bc2bc3 commit faa306e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ Closes #6049"
3232
# Some guidelines for web development with php.
3333
-----------------------------------------------------
3434
* Don't use features that are not supported in PHP 5.4, for compatibility with LTS OS releases, ISPConfig must support PHP 5.4+
35-
* Don't use shorttags. A Shorttag is <? and that is confusing with <?xml -> always use <?php
35+
* Don't use shorttags. A Shorttag is `<?` and that is confusing with `<?xml` -> always use `<?php`
3636
* Don't use namespaces
3737
* Column names in database tables and database table names are in lowercase
3838
* Classes for the interface are located in interface/lib/classes/ and loaded with $app->uses() or $app->load() functions.
3939
* Classes for the server are located in server/lib/classes/ and loaded with $app->uses() or $app->load() functions.
4040

4141
### Indentations
4242

43-
Indentations are always done with tabs. Do **not** use spaces.
43+
Indentations are always done with tabs. Do **not** use spaces.
4444
It is recommended to set your IDE to display tabs with a width of 4 spaces.
4545

4646
### Variable and method / function names
@@ -73,7 +73,7 @@ class my_class {
7373

7474
#### Curly braces
7575

76-
Opening curly braces always have to be in the same line as the preceding condition. They are separated by a single space from the closing paranthesis.
76+
Opening curly braces always have to be in the same line as the preceding condition. They are separated by a single space from the closing paranthesis.
7777
Closing curly braces are always on a separate line after the last statement in the block. The only exception is a do-while block where the logic is inverted.
7878

7979
Curly braces are **always** to be used. Do not leave them out, even if there is only a single statement in the corresponding block.
@@ -206,7 +206,7 @@ $var2 = [
206206
```
207207

208208
**Wrong:**
209-
```php:
209+
```php
210210
$var = array();
211211

212212
$var2 = array(
@@ -218,7 +218,7 @@ $var2 = array(
218218

219219
#### Spaces and newlines
220220

221-
When defining an empty array, both brackets shall be on the same line. When defining an array with values, the style depends on the values you are going to assign.
221+
When defining an empty array, both brackets shall be on the same line. When defining an array with values, the style depends on the values you are going to assign.
222222

223223
##### List of values
224224

0 commit comments

Comments
 (0)