File tree Expand file tree Collapse file tree 1 file changed +35
-35
lines changed 
src/Standards/Squiz/Docs/Commenting Expand file tree Collapse file tree 1 file changed +35
-35
lines changed Original file line number Diff line number Diff line change 191191        </code >
192192    </code_comparison >
193193    <standard >
194+     If asterisks are used, the closer's asterisk should be aligned with these. Otherwise, the closer's asterisk should be aligned with the opener's slash.
195+     </standard >
196+     <code_comparison >
197+         <code  title =" Valid: The closer's asterisk is aligned with other asterisks."  >
198+         <![CDATA[ 
199+ /* 
200+  * A block comment 
201+ <em> </em>*/ 
202+         ]]>  
203+         </code >
204+         <code  title =" Invalid: The closer's asterisk is not aligned with other asterisks."  >
205+         <![CDATA[ 
206+ /* 
207+  * A block comment. 
208+ <em></em>*/ 
209+         ]]>  
210+         </code >
211+     </code_comparison >
212+     <code_comparison >
213+         <code  title =" Valid: The closer's asterisk is aligned with the opener's slash."  >
214+         <![CDATA[ 
215+ /* 
216+     A block comment. 
217+ <em></em>*/ 
218+         ]]>  
219+         </code >
220+         <code  title =" Invalid: The closer's asterisk is not aligned with the opener's slash."  >
221+         <![CDATA[ 
222+ /* 
223+     A block comment. 
224+ <em> </em>*/ 
225+         ]]>  
226+         </code >
227+     </code_comparison >
228+     <standard >
194229    <![CDATA[ 
195230    There should be an empty line after the block comment. 
196231    ]]>  
@@ -242,39 +277,4 @@ echo 'Content';
242277        ]]>  
243278        </code >
244279    </code_comparison >
245-     <standard >
246-     If asterisks are used, the closer's asterisk should be aligned with these. Otherwise, the closer's asterisk should be aligned with the opener's slash.
247-     </standard >
248-     <code_comparison >
249-         <code  title =" Valid: The closer's asterisk is aligned with other asterisks."  >
250-         <![CDATA[ 
251- /* 
252-  * A block comment 
253- <em> </em>*/ 
254-         ]]>  
255-         </code >
256-         <code  title =" Invalid: The closer's asterisk is not aligned with other asterisks."  >
257-         <![CDATA[ 
258- /* 
259-  * A block comment. 
260- <em></em>*/ 
261-         ]]>  
262-         </code >
263-     </code_comparison >
264-     <code_comparison >
265-         <code  title =" Valid: The closer's asterisk is aligned with the opener's slash."  >
266-         <![CDATA[ 
267- /* 
268-     A block comment. 
269- <em></em>*/ 
270-         ]]>  
271-         </code >
272-         <code  title =" Invalid: The closer's asterisk is not aligned with the opener's slash."  >
273-         <![CDATA[ 
274- /* 
275-     A block comment. 
276- <em> </em>*/ 
277-         ]]>  
278-         </code >
279-     </code_comparison >
280280</documentation >
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments