Skip to content

Commit

Permalink
Core: add the Generic.VersionControl.GitMergeConflict sniff
Browse files Browse the repository at this point in the history
Fixes 1500
  • Loading branch information
jrfnl committed Apr 22, 2022
1 parent 16ed111 commit 664adf6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions WordPress-Core/ruleset.xml
Expand Up @@ -523,6 +523,9 @@
<message>Best practices: Declare only one class/interface/trait in a file.</message>
</rule>

<!-- Error on merge conflict markers. -->
<rule ref="Generic.VersionControl.GitMergeConflict"/>

<!--
#############################################################################
Not in the coding standard handbook: WP specific sniffs.
Expand Down

0 comments on commit 664adf6

Please sign in to comment.