PHP 8.2.31
Preview: SpaceBeforeCastStandard.xml Size: 597 B
//opt/cpanel/ea-wappspector/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Formatting/SpaceBeforeCastStandard.xml

<documentation title="Space Before Cast">
    <standard>
    <![CDATA[
    There should be exactly one space before a cast operator.
    ]]>
    </standard>
    <code_comparison>
        <code title="Valid: Single space before a cast operator.">
        <![CDATA[
$integer =<em> </em>(int) $string;
$c = $a .<em> </em>(string) $b;
        ]]>
        </code>
        <code title="Invalid: No space or multiple spaces before a cast operator.">
        <![CDATA[
$integer =<em></em>(int) $string;
$c = $a .<em>   </em>(string) $b;
        ]]>
        </code>
    </code_comparison>
</documentation>

Directory Contents

Dirs: 0 × Files: 6

Name Size Perms Modified Actions
524 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
1.74 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
503 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
501 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
696 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
597 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download

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