File "OneClassPerFileStandard.xml"

Full Path: /home/warrior1/public_html/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Files/OneClassPerFileStandard.xml
File size: 514 bytes
MIME-type: text/plain
Charset: utf-8

<documentation title="One Class Per File">
    <standard>
    <![CDATA[
    There should only be one class defined in a file.
    ]]>
    </standard>
    <code_comparison>
        <code title="Valid: Only one class in the file.">
        <![CDATA[
<?php
<em>class Foo</em>
{
}
        ]]>
        </code>
        <code title="Invalid: Multiple classes defined in one file.">
        <![CDATA[
<?php
<em>class Foo</em>
{
}

<em>class Bar</em>
{
}
        ]]>
        </code>
    </code_comparison>
</documentation>