Disable the PropertyDeclaration sniff only in certain namespaces and classes

parent ba2890b7
......@@ -39,7 +39,13 @@
</rule>
<rule ref="PSR2.Classes.PropertyDeclaration.Underscore">
<exclude-pattern>*/lib/*</exclude-pattern>
<exclude-pattern>*/lib/Doctrine/DBAL/Configuration.php</exclude-pattern>
<exclude-pattern>*/lib/Doctrine/DBAL/Connection.php</exclude-pattern>
<exclude-pattern>*/lib/Doctrine/DBAL/Driver</exclude-pattern>
<exclude-pattern>*/lib/Doctrine/DBAL/Event/Listeners</exclude-pattern>
<exclude-pattern>*/lib/Doctrine/DBAL/Platforms</exclude-pattern>
<exclude-pattern>*/lib/Doctrine/DBAL/Schema</exclude-pattern>
<exclude-pattern>*/lib/Doctrine/DBAL/Tools/Console/Helper/ConnectionHelper.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment