-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathphpcs.ruleset.xml
25 lines (20 loc) · 888 Bytes
/
phpcs.ruleset.xml
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
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards">
<!-- See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
<!-- See https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/develop/WordPress-Core/ruleset.xml -->
<!-- Set a description for this ruleset. -->
<description>A custom set of code standard rules to check for WordPress themes and plugins.</description>
<arg name="extensions" value="php" />
<arg name="colors" />
<arg value="sp" />
<file>./includes</file>
<file>./templates</file>
<file>./woocommerce-pagseguro.php</file>
<!-- Include the WordPress ruleset, with exclusions. -->
<rule ref="WordPress"></rule>
<rule ref="WordPress.Security.ValidatedSanitizedInput">
<properties>
<property name="customSanitizingFunctions" type="array" value="wc_clean" />
</properties>
</rule>
</ruleset>