1
+ <?xml version =" 1.0" ?>
2
+ <ruleset name =" Themeisle" >
3
+ <description >Themeisle rules for PHP_CodeSniffer</description >
4
+
5
+ <file >.</file >
6
+
7
+ <exclude-pattern >node_modules/*</exclude-pattern >
8
+ <exclude-pattern >dist/*</exclude-pattern >
9
+ <exclude-pattern >vendor/*</exclude-pattern >
10
+ <exclude-pattern >tests/*</exclude-pattern >
11
+ <exclude-pattern >includes/lib/*</exclude-pattern >
12
+ <exclude-pattern >*.min.js</exclude-pattern >
13
+ <exclude-pattern >*.min.css</exclude-pattern >
14
+ <exclude-pattern >*.js</exclude-pattern >
15
+ <exclude-pattern >*.css</exclude-pattern >
16
+ <exclude-pattern >*.asset.php</exclude-pattern >
17
+ <exclude-pattern >globals/google-fonts.php</exclude-pattern >
18
+ <exclude-pattern >bin/*.php</exclude-pattern >
19
+
20
+ <rule ref =" Themeisle" >
21
+ <exclude name =" Squiz.Scope.MethodScope.Missing" ></exclude >
22
+ <exclude name =" Generic.CodeAnalysis.EmptyStatement.DetectedCatch" ></exclude >
23
+ </rule >
24
+ <rule ref =" PSR2.Methods.MethodDeclaration.Underscore" >
25
+ <exclude-pattern >includes/modules/elementor_booster/widgets/*.php</exclude-pattern >
26
+ <exclude-pattern >includes/modules/custom_layouts/elementor/custom_layout.php</exclude-pattern >
27
+ </rule >
28
+ <rule ref =" WordPressVIPMinimum.Hooks.AlwaysReturnInFilter" >
29
+ <exclude-pattern >includes/core/generic_style.php</exclude-pattern >
30
+ </rule >
31
+ <rule ref =" WordPressVIPMinimum.Security.Vuejs.RawHTMLDirectiveFound" >
32
+ <exclude-pattern >includes/modules/header_footer_grid/templates/components/page-header-html.php</exclude-pattern >
33
+ </rule >
34
+ <rule ref =" PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.MethodDoubleUnderscore" >
35
+ <exclude-pattern >includes/modules/elementor_booster/widgets/*.php</exclude-pattern >
36
+ </rule >
37
+ <rule ref =" WordPress.WP.I18n" >
38
+ <properties >
39
+ <property name =" text_domain" type =" array" >
40
+ <element value =" woocommerce-product-addon" />
41
+ <element value =" default" />
42
+ </property >
43
+ </properties >
44
+ </rule >
45
+ <rule ref =" WordPress.Security.EscapeOutput" >
46
+ <properties >
47
+ <property name =" customAutoEscapedFunctions" type =" array" >
48
+ <element value =" neve_kses_svg" />
49
+ </property >
50
+ </properties >
51
+ </rule >
52
+ <arg name =" extensions" value =" php" />
53
+ <arg value =" sp" />
54
+ <arg name =" basepath" value =" ./" />
55
+ <arg name =" parallel" value =" 20" />
56
+ </ruleset >
0 commit comments