forked from ibericode/mailchimp-for-wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodesniffer.xml
executable file
·24 lines (22 loc) · 1.21 KB
/
codesniffer.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0"?>
<ruleset name="MailChimp for WordPress">
<description>MailChimp for WordPress rules for PHP_CodeSniffer</description>
<rule ref="WordPress-VIP">
<exclude name="Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines" />
<exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword" />
<exclude name="WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys" />
<exclude name="WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys" />
<exclude name="WordPress.PHP.YodaConditions"/>
<exclude name="WordPress.VIP.DirectDatabaseQuery" />
<exclude name="WordPress.VIP.FileSystemWritesDisallow"/>
<exclude name="WordPress.VIP.RestrictedFunctions.user_meta" />
<exclude name="WordPress.VIP.RestrictedVariables.user_meta"/>
<exclude name="WordPress.VIP.RestrictedFunctions.switch_to_blog"/>
<exclude name="WordPress.VIP.ValidatedSanitizedInput"/>
<exclude name="WordPress.WhiteSpace.ControlStructureSpacing" />
<exclude name="WordPress.WhiteSpace.ScopeIndent.Incorrect" />
<exclude name="WordPress.XSS.EscapeOutput" />
<!-- Our interfaces do not require CamelCaps -->
<exclude name="WordPress.Classes.ValidClassName.NotCamelCaps" />
</rule>
</ruleset>