Skip to content

Commit 3823a4a

Browse files
committed
Make HasEmptyLine/NoNewLine guidance fourth.
1 parent e66d021 commit 3823a4a

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/Standards/Squiz/Docs/Commenting/BlockCommentStandard.xml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,26 @@
7575
<![CDATA[
7676
/*
7777
<em></em>
78+
*/
79+
]]>
80+
</code>
81+
</code_comparison>
82+
<standard>
83+
<![CDATA[
84+
Block comment text should start on a new line immediately after the opener.
85+
]]>
86+
</standard>
87+
<code_comparison>
88+
<code title="Valid: Text starts on a new line.">
89+
<![CDATA[
90+
/*
91+
A block comment.
92+
*/
93+
]]>
94+
</code>
95+
<code title="Invalid: Text starts on the same line.">
96+
<![CDATA[
97+
/* <em>A block comment.</em>
7898
*/
7999
]]>
80100
</code>
@@ -131,26 +151,6 @@
131151
</code_comparison>
132152
<standard>
133153
<![CDATA[
134-
Block comment text should start on a new line immediately after the opener.
135-
]]>
136-
</standard>
137-
<code_comparison>
138-
<code title="Valid: Text starts on a new line.">
139-
<![CDATA[
140-
/*
141-
A block comment.
142-
*/
143-
]]>
144-
</code>
145-
<code title="Invalid: Text starts on the same line.">
146-
<![CDATA[
147-
/* <em>A block comment.</em>
148-
*/
149-
]]>
150-
</code>
151-
</code_comparison>
152-
<standard>
153-
<![CDATA[
154154
The block comment closer should be on a new line.
155155
]]>
156156
</standard>

0 commit comments

Comments
 (0)