File "ScopeKeywordSpacingStandard.xml"
Full Path: /home/warrior1/public_html/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/WhiteSpace/ScopeKeywordSpacingStandard.xml
File size: 576 bytes
MIME-type: text/plain
Charset: utf-8
<documentation title="Scope Keyword Spacing">
<standard>
<![CDATA[
The php keywords static, public, private, and protected should have one space after them.
]]>
</standard>
<code_comparison>
<code title="Valid: A single space following the keywords.">
<![CDATA[
public<em> </em>static<em> </em>function foo()
{
}
]]>
</code>
<code title="Invalid: Multiple spaces following the keywords.">
<![CDATA[
public<em> </em>static<em> </em>function foo()
{
}
]]>
</code>
</code_comparison>
</documentation>