Skip to content

Commit d1770a1

Browse files
committed
Update configuration to match new rule names
1 parent 38ed674 commit d1770a1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

HM-Minimum/ruleset.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,12 @@
154154
<rule ref="Generic.Files.ByteOrderMark" />
155155

156156
<!-- Disallow empty statements. -->
157-
<rule ref="WordPress.CodeAnalysis.EmptyStatement" />
157+
<rule ref="Generic.CodeAnalysis.EmptyPHPStatement" />
158158

159159
<!-- Require correct usage of WP's i18n functions. -->
160160
<rule ref="WordPress.WP.I18n">
161-
<properties>
162-
<property name="check_translator_comments" value="false" />
163-
</properties>
161+
<!-- Ignore missing translator comments -->
162+
<exclude name="WordPress.WP.I18n.MissingTranslatorsComment" />
164163

165164
<!-- Allow empty strings to be translated (e.g. space character) -->
166165
<exclude name="WordPress.WP.I18n.NoEmptyStrings" />

0 commit comments

Comments
 (0)