File tree Expand file tree Collapse file tree 1 file changed +21
-21
lines changed
src/Standards/Squiz/Docs/Commenting Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Original file line number Diff line number Diff line change 6060 </code_comparison >
6161 <standard >
6262 <![CDATA[
63+ A block comment should not be empty.
64+ ]]>
65+ </standard >
66+ <code_comparison >
67+ <code title =" Valid: A block comment with contents." >
68+ <![CDATA[
69+ /*
70+ A block comment.
71+ */
72+ ]]>
73+ </code >
74+ <code title =" Invalid: An empty block comment." >
75+ <![CDATA[
76+ /*
77+ <em></em>
78+ */
79+ ]]>
80+ </code >
81+ </code_comparison >
82+ <standard >
83+ <![CDATA[
6384 If there are no asterisks at the start of each line, the contents of the docblock should be indented by at least 4 spaces.
6485 ]]>
6586 </standard >
110131 </code_comparison >
111132 <standard >
112133 <![CDATA[
113- A block comment should not be empty.
114- ]]>
115- </standard >
116- <code_comparison >
117- <code title =" Valid: A block comment with contents." >
118- <![CDATA[
119- /*
120- A block comment.
121- */
122- ]]>
123- </code >
124- <code title =" Invalid: An empty block comment." >
125- <![CDATA[
126- /*
127- <em></em>
128- */
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