<?xml version="1.0"?>
<ruleset name="Automatic Domain Changer">
    <description>Coding standards for the Automatic Domain Changer plugin.</description>

    <file>auto-domain-change.php</file>
    <file>src</file>
    <file>templates</file>

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

    <rule ref="WordPress">
        <exclude name="WordPress.Files.FileName"/>
        <exclude name="Generic.Arrays.DisallowShortArraySyntax"/>
        <exclude name="Universal.Arrays.DisallowShortArraySyntax"/>
    </rule>

    <rule ref="PHPCompatibilityWP"/>

    <config name="testVersion" value="7.4-"/>
    <config name="minimum_supported_wp_version" value="5.0"/>

    <rule ref="WordPress.WP.I18n">
        <properties>
            <property name="text_domain" type="array" value="auto-domain-change"/>
        </properties>
    </rule>
</ruleset>
