File tree 1 file changed +22
-22
lines changed
src/Standards/Generic/Docs/Commenting
1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change 50
50
</code_comparison >
51
51
<standard >
52
52
<![CDATA[
53
- There must be no additional blank (comment) lines before the closing DocBlock tag.
54
- ]]>
55
- </standard >
56
- <code_comparison >
57
- <code title =" Valid: no additional blank lines before the closing DocBlock tag." >
58
- <![CDATA[
59
- /**
60
- * Short description.<em>
61
- </em> */
62
- ]]>
63
- </code >
64
- <code title =" Invalid: additional blank lines before the closing DocBlock tag." >
65
- <![CDATA[
66
- /**
67
- * Short description.
68
- <em> *</em>
69
- */
70
- ]]>
71
- </code >
72
- </code_comparison >
73
- <standard >
74
- <![CDATA[
75
53
The DocBlock must have a short description, and it must be on the first line.
76
54
]]>
77
55
</standard >
261
239
* @return void
262
240
*
263
241
* <em>@param string $bar</em>
242
+ */
243
+ ]]>
244
+ </code >
245
+ </code_comparison >
246
+ <standard >
247
+ <![CDATA[
248
+ There must be no additional blank (comment) lines before the closing DocBlock tag.
249
+ ]]>
250
+ </standard >
251
+ <code_comparison >
252
+ <code title =" Valid: no additional blank lines before the closing DocBlock tag." >
253
+ <![CDATA[
254
+ /**
255
+ * Short description.<em>
256
+ </em> */
257
+ ]]>
258
+ </code >
259
+ <code title =" Invalid: additional blank lines before the closing DocBlock tag." >
260
+ <![CDATA[
261
+ /**
262
+ * Short description.
263
+ <em> *</em>
264
264
*/
265
265
]]>
266
266
</code >
You can’t perform that action at this time.
0 commit comments