<?xml version="1.0"?>
<ruleset name="Liveticker">
	<description>Derived from WordPress Coding Standard</description>

	<!-- Config arguments -->
	<arg value="psv"/>
	<arg name="colors"/>

	<!-- Files to sniff -->
	<file>stklcode-liveticker.php</file>
	<file>includes</file>
	<file>views</file>

	<!-- Compliance with WordPress Coding Standard -->
	<config name="minimum_supported_wp_version" value="4.7"/>
	<rule ref="WordPress">
		<exclude name="WordPress.DB.SlowDBQuery.slow_db_query_tax_query"/>
	</rule>

	<!-- Verify usage of the correct textdomain for WP translation -->
	<rule ref="WordPress.WP.I18n">
		<properties>
			<property name="text_domain" type="array" value="stklcode-liveticker"/>
		</properties>
	</rule>

	<!-- PHP compatibility level -->
	<config name="testVersion" value="5.6-"/>
	<rule ref="PHPCompatibilityWP"/>
</ruleset>