@@ -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
@@ -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
@@ -108,9 +108,9 @@ Naming Conventions
108
108
109
109
* Use namespaces for all classes;
110
110
111
- * Abstract classes are often prefixed with `Abstract `;
111
+ * Abstract classes are often prefixed with `` Abstract ` `;
112
112
113
- * Suffix interfaces with `Interface `;
113
+ * Suffix interfaces with `` Interface ` `;
114
114
115
115
* Use alphanumeric characters and underscores for file names;
116
116
@@ -122,9 +122,9 @@ Documentation
122
122
123
123
* Add PHPDoc blocks for all classes, methods, and functions;
124
124
125
- * Omit the `@return ` tag if the method does not return anything;
125
+ * Omit the `` @return ` ` tag if the method does not return anything;
126
126
127
- * The `@package ` and `@subpackage ` annotations are not used.
127
+ * The `` @package `` and `` @subpackage ` ` annotations are not used.
128
128
129
129
License
130
130
-------
0 commit comments