PHP Classes

File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/Generic/Docs/CodeAnalysis/EmptyStatementStandard.xml

Recommend this page to a friend!
  Classes of Simo   CodeIgniter Plugin for Z-Ray   zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/Generic/Docs/CodeAnalysis/EmptyStatementStandard.xml   Download  
File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/Generic/Docs/CodeAnalysis/EmptyStatementStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CodeIgniter Plugin for Z-Ray
Show CodeIgniter application information in Z-Ray
Author: By
Last change:
Date: 2 years ago
Size: 549 bytes
 

Contents

Class file image Download
<documentation title="Empty Statements"> <standard> <![CDATA[ Control Structures must have at least one statement inside of the body. ]]> </standard> <code_comparison> <code title="Valid: There is a statement inside the control structure."> <![CDATA[ if ($test) { $var = 1; } ]]> </code> <code title="Invalid: The control structure has no statements."> <![CDATA[ if ($test) { <em>// do nothing</em> } ]]> </code> </code_comparison> </documentation>