Skip to content

Commit

Permalink
Ignore an issue with singleton classes instance methods being flagged
Browse files Browse the repository at this point in the history
  • Loading branch information
srtfisher committed Sep 6, 2023
1 parent d0d000b commit 9e914d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Alley-Interactive/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,9 @@
-->
<type>error</type>
</rule>

<!-- Ignore an issue with singleton classes instance methods being flagged. -->
<rule ref="Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound">
<exclude-pattern>(class|trait)-(instance|singleton).php</exclude-pattern>
</rule>
</ruleset>

0 comments on commit 9e914d3

Please sign in to comment.