<?xml version="1.0"?>
<ruleset name="WordPress Plugin Coding Standards">
	<description>
		A custom set of code standard rules to check for WordPress plugins:

		* See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml
    * See https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/develop/WordPress-Core/ruleset.xml
	</description>

	<config name="minimum_supported_wp_version" value="5.2"/>
	<config name="testVersion" value="5.6-"/>

	<!-- Include the WordPress ruleset, with exclusions. -->
	<rule ref="WordPress">
		<exclude name ="WordPress.WP.I18n.NonSingularStringLiteralDomain" />
		<exclude name="Generic.Functions.FunctionCallArgumentSpacing" />
		<exclude name ="PEAR.Functions.FunctionCallSignature.CloseBracketLine" />
		<exclude name ="PEAR.Functions.FunctionCallSignature.MultipleArguments" />
		<exclude name ="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket" />
	</rule>
	<rule ref="WordPress-Docs" />
	<rule ref="WordPress-Extra" />

</ruleset>
