Skip to content

Commit

Permalink
Add exceptions to abstract and exception rules
Browse files Browse the repository at this point in the history
We are not sure yet how this classes will be dealt with.
  • Loading branch information
greg0ire committed Dec 10, 2019
1 parent 548f75f commit da3b167
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@
<rule ref="SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming">
<exclude-pattern>lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php</exclude-pattern>
<exclude-pattern>lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php</exclude-pattern>
<exclude-pattern>lib/Doctrine/Persistence/AbstractManagerRegistry.php</exclude-pattern>
<exclude-pattern>lib/Doctrine/Persistence/Mapping/AbstractClassMetadataFactory.php</exclude-pattern>
</rule>

<rule ref="SlevomatCodingStandard.Classes.SuperfluousExceptionNaming.SuperfluousSuffix">
<exclude-pattern>lib/Doctrine/Common/Persistence/Mapping/MappingException.php</exclude-pattern>
<exclude-pattern>lib/Doctrine/Persistence/Mapping/MappingException.php</exclude-pattern>
</rule>
</ruleset>

0 comments on commit da3b167

Please sign in to comment.