This repository has been archived by the owner on Jan 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
phpcs.xml
41 lines (36 loc) · 1.87 KB
/
phpcs.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0"?>
<ruleset name="Themeisle">
<description>Themeisle rules for PHP_CodeSniffer</description>
<file>.</file>
<exclude-pattern>node_modules/*</exclude-pattern>
<exclude-pattern>*.js</exclude-pattern>
<exclude-pattern>*.css</exclude-pattern>
<rule ref="WordPress-Core">
<exclude name="Squiz.Commenting.FileComment.SpacingAfterComment" />
<exclude name="Squiz.Commenting.FunctionComment.MissingParamTag" />
<exclude name="Squiz.Commenting.InlineComment.InvalidEndChar" />
<exclude name="Squiz.Commenting.InlineComment.NotCapital" />
<exclude name="WordPress.Files.FileName" />
<exclude name="WordPress.PHP.YodaConditions.NotYoda" />
<exclude name="Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace" />
<exclude name="Squiz.PHP.EmbeddedPhp.ContentBeforeEnd" />
<exclude name="Squiz.PHP.EmbeddedPhp.ContentAfterOpen" />
<exclude name="WordPress.Arrays.MultipleStatementAlignment" />
<exclude name="WordPress.Arrays.ArrayIndentation" />
<exclude name="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma" />
<exclude name="WordPress.WhiteSpace" />
<exclude name="Squiz.PHP.CommentedOutCode.Found" />
<exclude name="Generic.Formatting.MultipleStatementAlignment" />
<exclude name="Squiz.PHP.EmbeddedPhp.NoSemicolon" />
<exclude name="Squiz.PHP.EmbeddedPhp.SpacingAfterOpen" />
<exclude name="Squiz.Commenting.FileComment.Missing" />
<exclude name="Squiz.PHP.EmbeddedPhp.SpacingBeforeClose" />
<exclude name="Squiz.PHP.EmbeddedPhp.Empty" />
<exclude name="Squiz.WhiteSpace.ObjectOperatorSpacing" />
</rule>
<rule ref="WordPress-Docs">
</rule>
<rule ref="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing">
<severity>0</severity>
</rule>
</ruleset>