phpcs.xml.dist
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards for WP Stream">
<config name="ignore_warnings_on_exit" value="1" /><!-- FIXME -->
<arg name="extensions" value="php" />
<arg name="colors" />
<arg value="sp" /><!-- Show sniff codes in all reports and progress. -->
<rule ref="PHPCompatibilityWP" />
<config name="testVersion" value="5.6-" /><!-- Test for PHP compatibility for 5.6 and above. -->
<rule ref="WordPress-Docs">
<type>warning</type><!-- FIXME Report but ignore for now. -->
</rule>
<rule ref="WordPress-Extra" />
<rule ref="WordPress-Core">
<exclude name="WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound" /><!-- TODO: Change these to phpcs:ignore -->
</rule>
<exclude-pattern>*.ruleset</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/includes/lib/*</exclude-pattern>
<exclude-pattern>*/ui/lib/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/build/*</exclude-pattern>
<exclude-pattern>*/local/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
</ruleset>