Skip to content

Commit

Permalink
Move standard about additional lines before closing tag to end
Browse files Browse the repository at this point in the history
Based on suggestion during PR review
  • Loading branch information
rodrigoprimo committed Apr 22, 2024
1 parent f266412 commit 250effa
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions src/Standards/Generic/Docs/Commenting/DocCommentStandard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,28 +50,6 @@
</code_comparison>
<standard>
<![CDATA[
There must be no additional blank (comment) lines before the closing DocBlock tag.
]]>
</standard>
<code_comparison>
<code title="Valid: no additional blank lines before the closing DocBlock tag.">
<![CDATA[
/**
* Short description.<em>
</em> */
]]>
</code>
<code title="Invalid: additional blank lines before the closing DocBlock tag.">
<![CDATA[
/**
* Short description.
<em> *</em>
*/
]]>
</code>
</code_comparison>
<standard>
<![CDATA[
The DocBlock must have a short description, and it must be on the first line.
]]>
</standard>
Expand Down Expand Up @@ -261,6 +239,28 @@
* @return void
*
* <em>@param string $bar</em>
*/
]]>
</code>
</code_comparison>
<standard>
<![CDATA[
There must be no additional blank (comment) lines before the closing DocBlock tag.
]]>
</standard>
<code_comparison>
<code title="Valid: no additional blank lines before the closing DocBlock tag.">
<![CDATA[
/**
* Short description.<em>
</em> */
]]>
</code>
<code title="Invalid: additional blank lines before the closing DocBlock tag.">
<![CDATA[
/**
* Short description.
<em> *</em>
*/
]]>
</code>
Expand Down

0 comments on commit 250effa

Please sign in to comment.