-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
19 lines (17 loc) · 849 Bytes
/
phpcs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0"?>
<ruleset name="WordPress Theme Coding Standards">
<description>Use "WordPress" as the sniffer context, but add exclusions.</description>
<exclude-pattern>/vendor/*</exclude-pattern>
<rule ref="WordPress">
<exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact" />
<exclude name="Generic.WhiteSpace.ScopeIndent.Incorrect" />
<exclude name="Squiz.Commenting.FileComment" />
<exclude name="Squiz.Commenting.LongConditionClosingComment" />
<exclude name="PEAR.Functions.FunctionCallSignature.Indent" />
<exclude name="WordPress.Files.FileName" />
<exclude name="Generic.Files.LowercasedFilename" />
<exclude name="Generic.Classes.DuplicateClassName" />
<exclude name="Generic.Arrays.DisallowShortArraySyntax.Found" />
<exclude name="WordPress.NamingConventions.ValidHookName" />
</rule>
</ruleset>