<?xml version="1.0"?>
<ruleset name="Syndication Links Ruleset">
	<description>Syndication Link Standards</description>
	<!-- Check up to 8 files simultanously. -->
	<arg name="parallel" value="8"/>
	
	<file>.</file>
	<exclude-pattern>*/includes/class-social-plugins.php</exclude-pattern>
	<exclude-pattern>*/vendor</exclude-pattern>
	<exclude-pattern>*/node_modules</exclude-pattern>
	<exclude-pattern>*/build</exclude-pattern>
	<exclude-pattern>*/genericons-neue</exclude-pattern>
	<!-- Only check the PHP, CSS and SCSS files. -->
	<arg name="extensions" value="php,css,scss/css"/>

        <rule ref="PHPCompatibility"/>
        <config name="testVersion" value="5.3-"/>
        <rule ref="PHPCompatibilityWP"/>
        <config name="minimum_supported_wp_version" value="4.7"/>
        <rule ref="WordPress.WP.DeprecatedFunctions" />

        <rule ref="WordPress-Core">
                <exclude name="WordPress.Security.ValidatedSanitizedInput" />
                <exclude name="WordPress.Security.NonceVerification" />
        </rule>
        <rule ref="WordPress.Files.FileName">
        <properties>
        <property name="strict_class_file_names" value="false" />
        </properties>
        </rule>

        <rule ref="WordPress-Extra" />
        <rule ref="WordPress.WP.I18n"/>
	<config name="text_domain" value="syndication-links,default"/>
</ruleset>
