<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards for Adapter Post Preview">
	<description>Sniffs for plugin and VIP WordPress standards</description>

	<rule ref="WordPress-Core" />
	<rule ref="WordPress-Docs" />
	<rule ref="WordPress-VIP" />
	<rule ref="WordPress-Extra" />
	<rule ref="WordPress.WP.I18n">
		<properties>
			<property name="text_domain" value="adapter-post-preview" />
		</properties>
	</rule>

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

	<!-- Show sniff codes in all reports -->
	<arg value="s"/>

	<!-- Allow invoking just `phpcs` on command line without assuming STDIN for file input. -->
	<file>.</file>

	<exclude-pattern>*/dev-lib/*</exclude-pattern>
	<exclude-pattern>*/node_modules/*</exclude-pattern>
	<exclude-pattern>*/vendor/*</exclude-pattern>
	<rule ref="WordPress.Files.FileName.InvalidClassFileName">
		<exclude-pattern>tests/*</exclude-pattern>
	</rule>
</ruleset>