forked from Crocoblock/jetformbuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
37 lines (32 loc) · 1.61 KB
/
Copy pathphpcs.xml
File metadata and controls
37 lines (32 loc) · 1.61 KB
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
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards">
<description>JetFormBuilder dev PHP_CodeSniffer ruleset.</description>
<file>.</file>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>assets/*</exclude-pattern>
<exclude-pattern>\.idea/*</exclude-pattern>
<!-- Rules -->
<rule ref="WordPress">
<exclude name="PSR2.Classes.PropertyDeclaration.Underscore" />
<exclude name="Squiz.Commenting.VariableComment.Missing" />
<exclude name="Squiz.Commenting.FunctionComment.Missing" />
<exclude name="WordPress.NamingConventions.ValidHookName.UseUnderscores" />
<exclude name="Generic.Commenting.DocComment.MissingShort" />
<exclude name="Generic.CodeAnalysis.EmptyStatement.DetectedCatch" />
<exclude name="PEAR.Commenting.FileComment.Missing" />
<exclude name="PEAR.Commenting.ClassComment.Missing" />
<exclude name="PEAR.Commenting.FunctionComment.Missing" />
<exclude name="PEAR.Commenting.InlineComment.Missing" />
<exclude name="Squiz.Commenting.FileComment.MissingPackageTag" />
<exclude name="Squiz.Commenting.InlineComment.InvalidEndChar" />
<exclude name="Generic.Commenting.DocComment.ShortNotCapital" />
<exclude name="Squiz.Commenting.FileComment.Missing" />
<exclude name="Squiz.Commenting.FunctionComment" />
</rule>
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array" value="jet-form-builder" />
</properties>
</rule>
</ruleset>