-
Notifications
You must be signed in to change notification settings - Fork 5
/
phpcs.xml
29 lines (27 loc) · 1.07 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="Indieweb Press This">
<description>Indieweb Press This Standards</description>
<file>./indieweb-press-this.php</file>
<exclude-pattern>*/includes/*\.(inc|css|js|svg)</exclude-pattern>
<rule ref="PHPCompatibility"/>
<config name="testVersion" value="5.3-"/>
<rule ref="WordPress-Core" />
<rule ref="WordPress.Files.FileName">
<properties>
<property name="strict_class_file_names" value="false" />
</properties>
</rule>
<rule ref="WordPress-Extra" />
<rule ref="WordPress.WP.I18n"/>
<config name="text_domain" value="indieweb_press_this"/>
<rule ref="WordPress-VIP">
<exclude name="WordPress.VIP.FileSystemWritesDisallow" />
<exclude name="WordPress.VIP.RestrictedFunctions" />
<exclude name="WordPress.VIP.RestrictedVariables" />
<exclude name="WordPress.VIP.SuperGlobalInputUsage" />
<exclude name="WordPress.VIP.ValidatedSanitizedInput" />
<exclude name="WordPress.CSRF.NonceVerification" />
<exclude name="WordPress.XSS.EscapeOutput" />
<exclude name="WordPress.VIP.PostsPerPage.posts_per_page" />
</rule>
</ruleset>