File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed
src/Standards/Squiz/Docs/Commenting Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change 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 >
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 >
You can’t perform that action at this time.
0 commit comments