<?xml version="1.0"?>
<ruleset name="FakerPress Coding Standards">
	<rule ref="WordPress-VIP-Go"/>
	<rule ref="WordPress-Extra"/>
	<rule ref="WordPress-Core"/>
	<rule ref="WordPress-Docs">
		<exclude-pattern>*/tests/*</exclude-pattern>
	</rule>
	<rule ref="WordPress">
		<exclude name="WordPress.Files.FileName"/>
		<exclude name="WordPress.PHP.YodaConditions.NotYoda"/>
	</rule>
	<rule ref="StellarWP"/>

	<!--exclude the rule for violation of direct DB calls as some have no alternative-->
	<rule ref="WordPress.DB.DirectDatabaseQuery">
		<exclude-pattern>src/Test.php</exclude-pattern>
	</rule>

	<exclude-pattern>*/tests/*</exclude-pattern>
	<exclude-pattern>*/vendor/*</exclude-pattern>

	<!-- We always want short array syntax only. -->
	<rule ref="Generic.Arrays.DisallowLongArraySyntax" />
</ruleset>
