PHP 8.2.31
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

Name Size Perms Modified Actions
491 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
1.58 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
561 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
578 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
2.00 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
529 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
1.28 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
592 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
462 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
2.29 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).