Skip to content

Commit 80da128

Browse files
committed
Updated to latest version
1 parent ddc448b commit 80da128

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

codeat.xml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,8 @@
115115
<exclude name="WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys" />
116116
<exclude name="WordPress.Files.FileName.InvalidClassFileName"/>
117117
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase"/>
118-
<exclude name="WordPress.XSS.EscapeOutput" />
119118
<exclude name="WordPress.PHP.YodaConditions"/>
120119
<exclude name="WordPress.Arrays.ArrayIndentation.ItemNotAligned" />
121-
<exclude name="WordPress.Variables.GlobalVariables"/>
122120
<exclude name="WordPress.WP.I18n.NonSingularStringLiteralDomain"/>
123121
<exclude name="WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter" />
124122
<exclude name="WordPress.Arrays.ArrayDeclaration.NoComma" />
@@ -165,23 +163,6 @@
165163
</properties>
166164
</rule>
167165

168-
<rule ref="WordPress.Functions.DontExtract">
169-
<type>warning</type>
170-
</rule>
171-
<!-- Prepare all SQL queries. -->
172-
<rule ref="WordPress.WP.PreparedSQL">
173-
<type>warning</type>
174-
</rule>
175-
176-
<!-- Escape all non-hard-coded output. -->
177-
<rule ref="WordPress.XSS.EscapeOutput">
178-
<type>warning</type>
179-
</rule>
180-
<!-- Verify that a nonce check is done before using values in superglobals. -->
181-
<rule ref="WordPress.CSRF.NonceVerification">
182-
<type>warning</type>
183-
</rule>
184-
185166
<!-- Superglobal input not validated or sanitized. -->
186167
<rule ref="WordPress.Security.ValidatedSanitizedInput">
187168
<type>warning</type>
@@ -195,7 +176,7 @@
195176
</rule>
196177
<rule ref="WordPress.WP.I18n">
197178
<properties>
198-
<property name="text_domain" type="array" value="glossary,woo-fiscalita-italiana,genesis"/>
179+
<property name="text_domain" type="array" value="glossary-by-codeat,woo-fiscalita-italiana,genesis"/>
199180
</properties>
200181
</rule>
201182

0 commit comments

Comments
 (0)