PHP 8.2.31
Preview: ScopeClosingBraceStandard.xml Size: 577 B
//opt/cpanel/ea-wappspector/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/WhiteSpace/ScopeClosingBraceStandard.xml

<documentation title="Closing Brace Indentation">
    <standard>
    <![CDATA[
    Closing braces should be indented at the same level as the beginning of the scope.
    ]]>
    </standard>
    <code_comparison>
        <code title="Valid: Consistent indentation level for scope.">
        <![CDATA[
if ($test) {
    $var = 1;
}
        ]]>
        </code>
        <code title="Invalid: The ending brace is indented further than the if statement.">
        <![CDATA[
if ($test) {
    $var = 1;
<em>    </em>}
        ]]>
        </code>
    </code_comparison>
</documentation>

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
995 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
577 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
682 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download

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