We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38ed674 commit d1770a1Copy full SHA for d1770a1
HM-Minimum/ruleset.xml
@@ -154,13 +154,12 @@
154
<rule ref="Generic.Files.ByteOrderMark" />
155
156
<!-- Disallow empty statements. -->
157
- <rule ref="WordPress.CodeAnalysis.EmptyStatement" />
+ <rule ref="Generic.CodeAnalysis.EmptyPHPStatement" />
158
159
<!-- Require correct usage of WP's i18n functions. -->
160
<rule ref="WordPress.WP.I18n">
161
- <properties>
162
- <property name="check_translator_comments" value="false" />
163
- </properties>
+ <!-- Ignore missing translator comments -->
+ <exclude name="WordPress.WP.I18n.MissingTranslatorsComment" />
164
165
<!-- Allow empty strings to be translated (e.g. space character) -->
166
<exclude name="WordPress.WP.I18n.NoEmptyStrings" />
0 commit comments