Preview: ScopeKeywordSpacingStandard.xml
Size: 592 B
/opt/cpanel/ea-wappspector/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/WhiteSpace/ScopeKeywordSpacingStandard.xml
<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>
Directory Contents
Dirs: 0 × Files: 10