File tree Expand file tree Collapse file tree
src/Standards/Squiz/Docs/Commenting Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 </code_comparison >
4242 <standard >
4343 <![CDATA[
44+ Single line block comments are not allowed.
45+ ]]>
46+ </standard >
47+ <code_comparison >
48+ <code title =" Valid: Multi-line block comment." >
49+ <![CDATA[
50+ /*
51+ A block comment.
52+ */
53+ ]]>
54+ </code >
55+ <code title =" Invalid: Single line block comment." >
56+ <![CDATA[
57+ <em>/* A block comment. */</em>
58+ ]]>
59+ </code >
60+ </code_comparison >
61+ <standard >
62+ <![CDATA[
4463 If there are no asterisks at the start of each line, the contents of the docblock should be indented by at least 4 spaces.
4564 ]]>
4665 </standard >
112131 </code_comparison >
113132 <standard >
114133 <![CDATA[
115- Single line block comments are not allowed.
116- ]]>
117- </standard >
118- <code_comparison >
119- <code title =" Valid: Multi-line block comment." >
120- <![CDATA[
121- /*
122- A block comment.
123- */
124- ]]>
125- </code >
126- <code title =" Invalid: Single line block comment." >
127- <![CDATA[
128- <em>/* A block comment. */</em>
129- ]]>
130- </code >
131- </code_comparison >
132- <standard >
133- <![CDATA[
134134 Block comment text should start on a new line immediately after the opener.
135135 ]]>
136136 </standard >
You can’t perform that action at this time.
0 commit comments