File "ForbiddenFunctionsStandard.xml"

Full Path: /home/warrior1/public_html/wp-content/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/ForbiddenFunctionsStandard.xml
File size: 498 bytes
MIME-type: text/plain
Charset: utf-8

<documentation title="Forbidden Functions">
    <standard>
    <![CDATA[
    The forbidden functions sizeof() and delete() should not be used.
    ]]>
    </standard>
    <code_comparison>
        <code title="Valid: count() is used in place of sizeof().">
        <![CDATA[
$foo = <em>count</em>($bar);
        ]]>
        </code>
        <code title="Invalid: sizeof() is used.">
        <![CDATA[
$foo = <em>sizeof</em>($bar);
        ]]>
        </code>
    </code_comparison>
</documentation>