<?xml version="1.0"?>
<ruleset name="smntcs-coupon-code-generator-for-wordcamps">
	<description>Coding standards used for checking the SMNTCS Pinterest Save Button plugin.</description>

	<!-- Arguments-->
	<arg value="sp"/>
	<arg name="colors"/>
	<arg name="parallel" value="100"/>
	<arg name="extensions" value="php"/>
	<arg name="cache" value=".phpcs.cache"/>

	<!-- Include the WordPress rulesets. -->
	<rule ref="WordPress-Extra"/>
	<rule ref="WordPress-Docs"/>

	<!-- Exclude files and directories-->
	<exclude-pattern>.github/*</exclude-pattern>
	<exclude-pattern>vendor/*</exclude-pattern>
	<exclude-pattern>node_modules/*</exclude-pattern>

	<!-- ExcludeInclude sniffs-->

	<rule ref="Generic.Formatting.MultipleStatementAlignment">
		<properties>
			<property name="maxPadding" value="12"/>
			<property name="error" value="true"/>
		</properties>
	</rule>
	<rule ref="WordPress.Arrays.ArrayKeySpacingRestrictions.">
		<properties>
			<property name="SpacesAroundArrayKeys" value="exact"/>
		</properties>
	</rule>
	<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
	<rule ref="Generic.Arrays.DisallowShortArraySyntax">
		<severity>0</severity>
	</rule>

	<!-- Exclude sniffs-->
	<rule ref="WordPress">
		<exclude name="WordPress.Files.FileName.InvalidClassFileName"/>
	</rule>

	<config name="testVersion" value="7.4-"/>
	<rule ref="PHPCompatibility"/>

</ruleset>
