Skip to content

Commit 250effa

Browse files
committed
Move standard about additional lines before closing tag to end
Based on suggestion during PR review
1 parent f266412 commit 250effa

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

src/Standards/Generic/Docs/Commenting/DocCommentStandard.xml

+22-22
Original file line numberDiff line numberDiff line change
@@ -50,28 +50,6 @@
5050
</code_comparison>
5151
<standard>
5252
<![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[
7553
The DocBlock must have a short description, and it must be on the first line.
7654
]]>
7755
</standard>
@@ -261,6 +239,28 @@
261239
* @return void
262240
*
263241
* <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>
264264
*/
265265
]]>
266266
</code>

0 commit comments

Comments
 (0)