<?xml version="1.0"?>
<ruleset name="SimplyIn Coding Standard" ignore_warnings_on_exit="true">
	<description>
		Custom WordPress-based PHPCS ruleset for SimplyIn.
		Based on the strict WordPress standard with selected exclusions.
	</description>

	<rule ref="WordPress">
		<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase"/>
		<exclude name="WordPress.Files.FileName.InvalidClassFileName"/>
		<exclude name="WordPress.Arrays.ArrayDeclaration.ShortArraySyntax"/>
		<exclude name="Universal.Arrays.DisallowShortArraySyntax"/>
		<exclude name="Squiz.Commenting.VariableComment.Missing"/>
		<exclude name="Generic.Commenting.DocComment.MissingShort"/>
		<exclude name="Squiz.Commenting.ClassComment"/>
	</rule>

	<arg name="extensions" value="php"/>
	<file>src</file>

	<exclude-pattern>*/ilabs/*</exclude-pattern>
	<exclude-pattern>*/assets/*</exclude-pattern>
	<exclude-pattern>*/public/*</exclude-pattern>
	<exclude-pattern>*/webpack.config.js</exclude-pattern>
	<exclude-pattern>*/webpack.config.js</exclude-pattern>
</ruleset>
