<?xml version="1.0"?>
<ruleset name="Oro">
    <description>PSR2 + Oro custom coding standard.</description>
    <rule ref="PSR2"/>
    <rule ref="Oro.Commenting.ClassComment">
        <exclude-pattern>*/Tests/*</exclude-pattern>
        <exclude-pattern>*/DependencyInjection/*Extension.php</exclude-pattern>
        <exclude-pattern>*/DependencyInjection/*Configuration.php</exclude-pattern>
    </rule>
    <rule ref="Generic.Commenting.Todo">
        <type>error</type>
    </rule>
    <exclude-pattern>*/Acme/*</exclude-pattern>
</ruleset>

<?xml version="1.0"?>
<ruleset name="Oro">
    <description>PSR2 + Oro custom coding standard.</description>
    <rule ref="PSR2"/>
    <rule ref="Oro.Commenting.ClassComment">
        <exclude-pattern>*/Tests/*</exclude-pattern>
        <exclude-pattern>*/DependencyInjection/*Extension.php</exclude-pattern>
        <exclude-pattern>*/DependencyInjection/*Configuration.php</exclude-pattern>
        <exclude-pattern>*/Migrations/Schema/*</exclude-pattern>
    </rule>
    <rule ref="Generic.Commenting.Todo">
        <type>error</type>
    </rule>
    <exclude-pattern>*/Acme/*</exclude-pattern>
</ruleset>

Exclude schema migrations from class docblock validation
BAP-17505: Exclude schema migrations from class docblock validation
