PluginProbe ʕ •ᴥ•ʔ
ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution / trunk
ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution vtrunk
4.9.1 4.9.0 2.0.0 2.1.0 2.2.0 2.2.1 2.2.2 2.3.0 2.4.0 2.5.0 2.5.1 3.0.0 3.1.0 3.1.1 4.0.0 4.0.1 4.1.0 4.1.1 4.2.0 4.2.1 4.3.0 4.3.1 4.4.0 4.5.0 4.5.1 4.6.0 4.6.1 4.6.2 4.6.3 4.6.4 4.6.5 4.6.6 4.6.7 4.6.8 4.6.9 4.7.0 4.7.1 4.7.2 4.7.3 4.7.4 4.7.5 4.7.6 4.7.7 4.7.8 4.7.9 4.8.0 4.8.1 4.8.2 4.8.3 4.8.4 4.8.5 4.8.6 4.8.7 4.8.8 4.8.9 trunk 0.1.2-beta 0.1.3-beta 0.1.4-beta 1.0.0 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.2.1 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.5.0 1.5.1 1.6.0 1.6.1 1.7.0 1.8.0 1.8.1 1.9.0
shopengine / phpcs.xml
shopengine Last commit date
assets 1 day ago base 7 months ago compatibility 3 weeks ago core 1 day ago languages 1 day ago libs 8 months ago modules 7 months ago traits 3 years ago utils 1 day ago widgets 1 day ago woocommerce 1 year ago autoloader.php 4 years ago phpcs.xml 3 years ago plugin.php 1 day ago readme.txt 1 day ago shopengine.php 1 day ago
phpcs.xml
80 lines
1 <?xml version="1.0"?>
2 <ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="WordPress Coding Standards" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
3
4 <description>The Coding standard for the WordPress Coding Standards itself.</description>
5
6 <file>.</file>
7
8 <arg value="sp"/>
9 <arg name="extensions" value="php"/>
10 <arg name="basepath" value="."/>
11 <arg name="parallel" value="8"/>
12 <!-- <arg name="cache" value="false"/> -->
13 <!-- <arg name="standard" value="WordPress"/> -->
14
15 <exclude-pattern>dev-*</exclude-pattern>
16 <exclude-pattern>node_modules/*</exclude-pattern>
17 <exclude-pattern>vendor/*</exclude-pattern>
18
19 <!-- <rule ref="WordPress"> -->
20 <!-- <exclude name="WordPress.Files.FileName"/> -->
21 <!-- <exclude name="WordPress.NamingConventions.ValidVariableName"/> -->
22 <!-- <exclude name="WordPress.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition"/> -->
23 <!-- </rule> -->
24
25 <rule ref="WordPress.Security">
26 <exclude name="Squiz.WhiteSpace.SuperfluousWhitespace.EndLine"/>
27 <exclude name="WordPress.Files.FileName"/>
28 <exclude name="WordPress.Arrays"/>
29 <exclude name="WordPress.NamingConventions.ValidVariableName"/>
30 <exclude name="WordPress.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition"/>
31 </rule>
32 <!-- Enforce PSR1 compatible namespaces. -->
33 <!-- <rule ref="PSR1.Classes.ClassDeclaration"/> -->
34
35 <!-- <rule ref="WordPress.Arrays.MultipleStatementAlignment"> -->
36 <!-- <properties> -->
37 <!-- <property name="alignMultilineItems" value="!=100"/> -->
38 <!-- <property name="exact" value="false" phpcs-only="true"/> -->
39 <!-- </properties> -->
40 <!-- </rule> -->
41
42 <rule ref="PSR2.Methods.FunctionClosingBrace"/>
43
44 <!-- Check code for cross-version PHP compatibility. -->
45 <!-- <config name="testVersion" value="5.4-"/> -->
46 <!-- <rule ref="PHPCompatibility"> -->
47 <!-- Exclude PHP constants back-filled by PHPCS. -->
48 <!-- <exclude name="PHPCompatibility.Constants.NewConstants.t_finallyFound"/> -->
49 <!-- <exclude name="PHPCompatibility.Constants.NewConstants.t_yieldFound"/> -->
50 <!-- <exclude name="PHPCompatibility.Constants.NewConstants.t_ellipsisFound"/> -->
51 <!-- <exclude name="PHPCompatibility.Constants.NewConstants.t_powFound"/> -->
52 <!-- <exclude name="PHPCompatibility.Constants.NewConstants.t_pow_equalFound"/> -->
53 <!-- <exclude name="PHPCompatibility.Constants.NewConstants.t_spaceshipFound"/> -->
54 <!-- <exclude name="PHPCompatibility.Constants.NewConstants.t_coalesceFound"/> -->
55 <!-- <exclude name="PHPCompatibility.Constants.NewConstants.t_coalesce_equalFound"/> -->
56 <!-- <exclude name="PHPCompatibility.Constants.NewConstants.t_yield_fromFound"/> -->
57 <!-- </rule> -->
58
59 <!--
60 #############################################################################
61 Handbook: PHP - Formatting SQL statements.
62 Ref: https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/#formatting-sql-statements
63 #############################################################################
64 -->
65
66 <!-- Rule: in $wpdb->prepare - %s is used for string placeholders and %d is used for integer
67 placeholders. Note that they are not 'quoted'! -->
68 <rule ref="WordPress.DB.PreparedSQLPlaceholders"/>
69 <!-- <rule ref="WordPress.DB.DirectDatabaseQuery" /> -->
70
71 <!-- Covers rule: $wpdb->prepare()... The benefit of this is that we don't have to remember
72 to manually use esc_sql(), and also that it is easy to see at a glance whether something
73 has been escaped or not, because it happens right when the query happens. -->
74 <rule ref="WordPress.DB.PreparedSQL"/>
75
76 <!-- Covers rule: Avoid touching the database directly. -->
77 <rule ref="WordPress.DB.RestrictedFunctions"/>
78 <rule ref="WordPress.DB.RestrictedClasses"/>
79
80 </ruleset>