PHP Classes

File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/Generic/Docs/WhiteSpace/ScopeIndentStandard.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/WhiteSpace/ScopeIndentStandard.xml   Download  
File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/Generic/Docs/WhiteSpace/ScopeIndentStandard.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: 1 year ago
Size: 582 bytes
 

Contents

Class file image Download
<documentation title="Scope Indentation"> <standard> <![CDATA[ Indentation for control structures, classes, and functions should be 4 spaces per level. ]]> </standard> <code_comparison> <code title="Valid: 4 spaces are used to indent a control structure."> <![CDATA[ if ($test) { <em> </em>$var = 1; } ]]> </code> <code title="Invalid: 8 spaces are used to indent a control structure."> <![CDATA[ if ($test) { <em> </em>$var = 1; } ]]> </code> </code_comparison> </documentation>