33 lines
1.0 KiB
XML
33 lines
1.0 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd">
|
|
<description>CodeSniffing standards for this project.</description>
|
|
|
|
<config name="installed_paths" value="./vendor/wp-coding-standards/wpcs" />
|
|
|
|
<file>bootstrap.php</file>
|
|
<file>nmsp-plugin-name.php</file>
|
|
<file>uninstall.php</file>
|
|
<file>constants</file>
|
|
<file>includes</file>
|
|
|
|
<arg name="basepath" value="./" />
|
|
<arg name="colors" />
|
|
<arg name="parallel" value="75" />
|
|
<arg name="report" value="full" />
|
|
<arg name="extensions" value="php" />
|
|
<arg value="nps" />
|
|
|
|
<!-- Don't hide tokenizer exceptions -->
|
|
<rule ref="Internal.Tokenizer.Exception">
|
|
<type>error</type>
|
|
</rule>
|
|
|
|
<!-- Include the whole Wordpress standard -->
|
|
<rule ref="WordPress-Core">
|
|
<!-- exclude rules here if needed -->
|
|
</rule>
|
|
<rule ref="WordPress-Extra">
|
|
<!-- exclude rules here if needed -->
|
|
</rule>
|
|
</ruleset>
|