-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
29 lines (24 loc) · 1.03 KB
/
phpcs.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
26
27
28
29
<?xml version="1.0"?>
<ruleset name="Wordpress Standards">
<description>A custom set of rules to check for a WPized WordPress project</description>
<!-- Include the WordPress-Extra standard. -->
<rule ref="WordPress-Extra" />
<!-- Ucomment to also check that everything is properly documented. -->
<!-- <rule ref="WordPress-Docs"/> -->
<!-- Uncomment and update `my-textdomain,library-textdomain` if you want to enforce consistent text domain name. -->
<!-- <rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array" value="my-textdomain,library-textdomain"/>
</properties>
</rule> -->
<!-- Uncomment and update `my_prefix` if you want to enforce standard prefix for global items. -->
<!-- <rule ref="WordPress.NamingConventions.PrefixAllGlobals">
<properties>
<property name="prefixes" type="array" value="my_prefix"/>
</properties>
</rule> -->
<!-- Uncomment to ignore output escaping warnings. -->
<rule ref="WordPress.Security.EscapeOutput">
<severity>0</severity>
</rule>
</ruleset>