-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
20 lines (15 loc) · 752 Bytes
/
phpcs.xml.dist
File metadata and controls
20 lines (15 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards for Plugins">
<description>Generally-applicable sniffs for WordPress plugins</description>
<rule ref="WordPress-Core" />
<rule ref="WordPress-Docs" />
<!-- Check all PHP files in directory tree by default. -->
<arg name="extensions" value="php"/>
<file>.</file>
<!-- Show sniff codes in all reports -->
<arg value="s"/>
<exclude-pattern>*/classes/importer/class-wxr-importer.php</exclude-pattern>
<exclude-pattern>*/classes/importer/class-logger.php</exclude-pattern>
<exclude-pattern>*/classes/importer/class-wp-importer-logger-serversentevents.php</exclude-pattern>
<exclude-pattern>*/classes/importer/class-wxr-import-info.php</exclude-pattern>
</ruleset>