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

    <file>src</file>
    <file>tests/unit</file>
    <exclude-pattern>*/tests/unit/Types/ContextFactoryTest.php</exclude-pattern>
    <arg value="p"/>

    <rule ref="phpDocumentor">
    </rule>

    <rule ref="SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming.SuperfluousPrefix">
        <exclude-pattern>*/src/*/Abstract*.php</exclude-pattern>
    </rule>
</ruleset>

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

    <file>src</file>
    <file>tests/unit</file>
    <exclude-pattern>*/tests/unit/Types/ContextFactoryTest.php</exclude-pattern>
    <arg value="p"/>

    <rule ref="phpDocumentor">
    </rule>

    <rule ref="SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming.SuperfluousPrefix">
        <exclude-pattern>*/src/*/Abstract*.php</exclude-pattern>
    </rule>

    <rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
        <exclude-pattern>*/src/PseudoTypes/False_.php</exclude-pattern>
        <exclude-pattern>*/src/PseudoTypes/True_.php</exclude-pattern>
    </rule>
</ruleset>

Disable phpcs sniff for BC compat
Disable phpcs sniff for BC compat

In order to keep BC compatiblity, I had to introduce class_alias calls
in the True_ and False_ classes. This has a side-effect, which the phpcs
fails on.
