Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
primogenial
/
themes
/
storefront
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
Generic
/
Docs
/
CodeAnalysis
:
EmptyStatementStandard.xml
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<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>