Skip to content

Commit

Permalink
Disable the PropertyDeclaration sniff only in certain namespaces and …
Browse files Browse the repository at this point in the history
…classes
  • Loading branch information
morozov committed Jul 25, 2020
1 parent e1c1aa6 commit 4e02108
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 4e02108

Please sign in to comment.