<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer">
    <description>The coding standard for PHPUnit</description>

    <file>../src</file>
    <file>../tests</file>

    <exclude-pattern>*/Regression/*</exclude-pattern>
    <exclude-pattern>*/_files/*</exclude-pattern>
    <exclude-pattern>../tests/bootstrap.php</exclude-pattern>

    <rule ref="PSR2">
        <exclude name="Generic.Files.LineLength"/>
    </rule>
</ruleset>

<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer">
    <description>The coding standard for PHPUnit</description>

    <file>../src</file>
    <file>../tests</file>

    <exclude-pattern>*/Regression/*</exclude-pattern>
    <exclude-pattern>*/_files/*</exclude-pattern>
    <exclude-pattern>../tests/bootstrap.php</exclude-pattern>

    <rule ref="PSR2">
        <exclude name="Generic.Files.LineLength"/>
        <exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace"/>
        <exclude name="PSR1.Classes.ClassDeclaration.MultipleClasses"/>
        <exclude name="PSR1.Files.SideEffects.FoundWithSymbols"/>
        <exclude name="Squiz.Classes.ValidClassName.NotCamelCaps"/>
    </rule>
</ruleset>

Exclude some PHP_CodeSniffer rules for PHPUnit 5.7
Exclude some PHP_CodeSniffer rules for PHPUnit 5.7
