PluginProbe
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell / 3.13.3
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell v3.13.3
3.13.3 3.13.2 3.13.1 3.13.0 3.12.13 3.12.12 3.12.11 3.12.10 3.12.9 3.12.8 3.12.7 3.12.6 3.12.5 3.12.4 3.12.3 3.12.1 3.12.2 3.12.0 3.11.1 3.11.0 3.10.9 3.10.8 3.10.7 3.10.6 2.8.16 All 261 releases
wpfunnels / vendor / appsero / client / phpcs.xml.dist

phpcs.xml.dist in WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell 3.13.3, at vendor/appsero/client/phpcs.xml.dist

113 lines 4.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?xml version="1.0"?>
2 <ruleset name="WordPress Coding Standards for Appsero Client">
3 <description>Generally-applicable sniffs for WordPress plugins.</description>
4
5 <!-- What to scan -->
6 <file>src</file>
7
8 <!-- How to scan -->
9 <!-- Usage instructions: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage -->
10 <!-- Annotated ruleset: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
11 <arg value="sp"/> <!-- Show sniff and progress -->
12 <arg name="basepath" value="./"/><!-- Strip the file paths down to the relevant bit -->
13 <arg name="colors"/>
14 <arg name="extensions" value="php"/>
15 <arg name="parallel" value="12"/><!-- Enables parallel processing when available for faster results. -->
16
17 <!-- Rules: Check PHP version compatibility -->
18 <!-- https://github.com/PHPCompatibility/PHPCompatibility#sniffing-your-code-for-compatibility-with-specific-php-versions -->
19 <config name="testVersion" value="5.6"/>
20
21 <!-- Rules: Check PHP version compatibility-->
22 <!-- https://github.com/PHPCompatibility/PHPCompatibilityWP -->
23 <rule ref="PHPCompatibilityWP"/>
24
25 <!-- Rules: WordPress Coding Standards -->
26 <!-- https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards -->
27 <!-- https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties -->
28 <config name="minimum_supported_wp_version" value="5.6"/>
29 <rule ref="WordPress-Extra"/>
30 <rule ref="WordPress">
31 <exclude name="Generic.WhiteSpace.DisallowSpaceIndent"/>
32 </rule>
33 <rule ref="WordPress.WhiteSpace.ControlStructureSpacing">
34 <properties>
35 <property name="blank_line_check" value="true"/>
36 </properties>
37 </rule>
38
39 <rule ref="Squiz.Commenting">
40 <severity>0</severity>
41 </rule>
42 <rule ref="PEAR.Functions.FunctionCallSignature.MultipleArguments">
43 <severity>0</severity>
44 </rule>
45 <rule ref="Generic.Commenting.DocComment.SpacingBeforeTags">
46 <severity>0</severity>
47 </rule>
48 <rule ref="WordPress.Files.FileName">
49 <severity>0</severity>
50 </rule>
51 <rule ref="WordPress.PHP.DevelopmentFunctions">
52 <severity>0</severity>
53 </rule>
54 <rule ref="WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid">
55 <severity>0</severity>
56 </rule>
57 <rule ref="WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned">
58 <severity>0</severity>
59 </rule>
60 <rule ref="Generic.Formatting.MultipleStatementAlignment.NotSameWarning">
61 <severity>0</severity>
62 </rule>
63 <rule ref="Generic.Commenting.DocComment.MissingShort">
64 <severity>0</severity>
65 </rule>
66 <rule ref="WordPress.PHP.YodaConditions.NotYoda">
67 <severity>0</severity>
68 </rule>
69 <rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie.ContentAfterBrace">
70 <severity>0</severity>
71 </rule>
72 <rule ref="WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterCloseParenthesis">
73 <severity>0</severity>
74 </rule>
75 <rule ref="WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound">
76 <type>warning</type>
77 </rule>
78 <rule ref="WordPress.DB.DirectDatabaseQuery.NoCaching">
79 <severity>0</severity>
80 </rule>
81 <rule ref="WordPress.PHP.StrictInArray.MissingTrueStrict">
82 <type>error</type>
83 </rule>
84 <rule ref="Universal.Operators.StrictComparisons">
85 <type>error</type>
86 </rule>
87 <rule ref="WordPress.DB.DirectDatabaseQuery.DirectQuery">
88 <severity>0</severity>
89 </rule>
90 <rule ref="WordPress.DB.PreparedSQL.NotPrepared">
91 <type>warning</type>
92 </rule>
93 <rule ref="WordPress.Security.EscapeOutput.OutputNotEscaped">
94 <severity>0</severity>
95 </rule>
96 <rule ref="WordPress.PHP.DevelopmentFunctions.error_log_var_export">
97 <severity>0</severity>
98 </rule>
99 <rule ref="Universal.Arrays.DisallowShortArraySyntax">
100 <severity>0</severity>
101 </rule>
102 <rule ref="WordPress.Security.ValidatedSanitizedInput">
103 <properties>
104 <property name="customSanitizingFunctions" type="array">
105 <element value="wc_clean"/>
106 </property>
107 </properties>
108 </rule>
109 <rule ref="Squiz.PHP.CommentedOutCode.Found">
110 <severity>0</severity>
111 </rule>
112 </ruleset>
113