@@ -15,7 +15,7 @@ documents.
15
15
Since a picture - or some code - is worth a thousand words, here's a short
16
16
example containing most features described below:
17
17
18
- .. code-block :: php
18
+ .. code-block :: php+html
19
19
20
20
<?php
21
21
@@ -40,7 +40,7 @@ example containing most features described below:
40
40
private $fooBar;
41
41
42
42
/**
43
- * @param string $dummy Some argument description
43
+ * @param string $dummyy Some argument description
44
44
*/
45
45
public function __construct($dummy)
46
46
{
@@ -82,17 +82,17 @@ Structure
82
82
83
83
* Add a single space after each comma delimiter;
84
84
85
- * Add a single space around operators (`== `, `&& `, ...);
85
+ * Add a single space around operators (`` == `` , `` && ` `, ...);
86
86
87
- * Add a blank line before `return ` statements, unless the return is alone
88
- inside a statement-group (like an `if ` statement);
87
+ * Add a blank line before `` return ` ` statements, unless the return is alone
88
+ inside a statement-group (like an `` if ` ` statement);
89
89
90
90
* Use braces to indicate control structure body regardless of the number of
91
91
statements it contains;
92
92
93
93
* Define one class per file - this does not apply to private helper classes
94
94
that are not intended to be instantiated from the outside and thus are not
95
- concerned by the PSR-0 standard;
95
+ concerned by the ` PSR-0 `_ standard;
96
96
97
97
* Declare class properties before methods;
98
98
@@ -124,9 +124,9 @@ Documentation
124
124
125
125
* Add PHPDoc blocks for all classes, methods, and functions;
126
126
127
- * Omit the `@return ` tag if the method does not return anything;
127
+ * Omit the `` @return ` ` tag if the method does not return anything;
128
128
129
- * The `@package ` and `@subpackage ` annotations are not used.
129
+ * The `` @package `` and `` @subpackage ` ` annotations are not used.
130
130
131
131
License
132
132
-------
0 commit comments