File "ScopeIndentStandard.xml"
Full Path: /home/warrior1/public_html/languages/wp-content/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/WhiteSpace/ScopeIndentStandard.xml
File size: 582 bytes
MIME-type: text/plain
Charset: utf-8
<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>