PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/CodeAnalysis/EmptyStatementStandard.xml

Recommend this page to a friend!
  Classes of milenmk   Simple PHP Password Manager   vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/CodeAnalysis/EmptyStatementStandard.xml   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/CodeAnalysis/EmptyStatementStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Simple PHP Password Manager
Application to store and retrieve user password
Author: By
Last change:
Date: 1 year 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>