PluginProbe
Omise Payments / 7.0.0
Omise Payments v7.0.0
7.2.1 7.2.0 trunk 1.2.3 3.0 3.1 3.10 3.11 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 4.0 4.1 4.10 4.11 4.12 4.13 4.14 4.15 4.15.1 All 97 releases
omise / phpcs.xml

phpcs.xml in Omise Payments 7.0.0, at phpcs.xml

48 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <ruleset name="Omise WooCommerce">
2 <description>Custom ruleset for Omise WooComemrce</description>
3
4 <arg name="extensions" value="php" />
5
6 <exclude-pattern>./build/*</exclude-pattern>
7 <exclude-pattern>./coverage/*</exclude-pattern>
8 <exclude-pattern>./vendor/*</exclude-pattern>
9 <exclude-pattern>./node_modules/*</exclude-pattern>
10 <exclude-pattern>./wp-content/*</exclude-pattern>
11 <exclude-pattern>./templates/*</exclude-pattern>
12 <exclude-pattern>.*/assets/*</exclude-pattern>
13
14 <rule ref="WordPress">
15 <exclude name="Generic.Commenting.DocComment.MissingShort" />
16 <exclude name="Generic.Formatting.MultipleStatementAlignment.NotSameWarning" />
17
18 <exclude name="Squiz.Commenting.ClassComment.Missing" />
19 <exclude name="Squiz.Commenting.FileComment.Missing" />
20 <exclude name="Squiz.Commenting.FunctionComment.Missing" />
21 <exclude name="Squiz.Commenting.FunctionComment.MissingParamComment" />
22 <exclude name="Squiz.Commenting.FunctionComment.MissingParamTag" />
23 <exclude name="Squiz.Commenting.InlineComment.InvalidEndChar" />
24 <exclude name="Squiz.Commenting.VariableComment.Missing" />
25
26 <exclude name="WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned" />
27 <exclude name="WordPress.PHP.YodaConditions.NotYoda" />
28 <exclude name="WordPress.WP.I18n.MissingTranslatorsComment" />
29
30 <exclude name="Universal.Arrays.DisallowShortArraySyntax.Found" />
31 </rule>
32
33 <rule ref="PEAR.Functions.FunctionCallSignature">
34 <properties>
35 <property name="requiredSpacesAfterOpen" value="1" />
36 <property name="requiredSpacesBeforeClose" value="1" />
37 <property name="allowMultipleArguments" value="true" />
38 </properties>
39 </rule>
40
41 <rule ref="WordPress.Security.ValidatedSanitizedInput.InputNotSanitized">
42 <type>warning</type>
43 </rule>
44 <rule ref="WordPress.Security.ValidatedSanitizedInput.MissingUnslash">
45 <type>warning</type>
46 </rule>
47 </ruleset>
48