File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/Standards/Squiz/Docs/Commenting Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 90
90
</code_comparison >
91
91
<standard >
92
92
<![CDATA[
93
- If asterisks are not used , the contents should be indented by at least 4 spaces.
93
+ If there are no asterisks at the start of each line , the contents of the docblock should be indented by at least 4 spaces.
94
94
]]>
95
95
</standard >
96
96
<code_comparison >
97
97
<code title =" Valid: Indented by at least 4 spaces." >
98
98
<![CDATA[
99
99
/*
100
100
A block comment
101
- with
102
- multiple lines .
101
+ with multiple lines.
102
+ And a second paragraph .
103
103
*/
104
104
]]>
105
105
</code >
165
165
]]>
166
166
</standard >
167
167
<code_comparison >
168
- <code title =" Valid: Uses multiple lines ." >
168
+ <code title =" Valid: Multi-line block comment ." >
169
169
<![CDATA[
170
170
/*
171
171
A block comment.
172
172
*/
173
173
]]>
174
174
</code >
175
- <code title =" Invalid: Uses a single line ." >
175
+ <code title =" Invalid: Single line block comment ." >
176
176
<![CDATA[
177
177
<em>/* A block comment. */</em>
178
178
]]>
You can’t perform that action at this time.
0 commit comments