<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards for Plugins">
    <description>The coding standard for SMNTCS Nord Admin Theme.</description>

    <!-- Arguments -->
    <arg value="s"/>
    <arg name="extensions" value="php"/>

	<!-- Check all files in this directory and the directories below it. -->
	<file>.</file>

	<!-- Exclude paths -->
	<exclude-pattern>*/node_modules/*</exclude-pattern>
	<exclude-pattern>*/vendor/*</exclude-pattern>

	<!-- Configs -->
	<config name="minimum_supported_wp_version" value="5.6" />
	<config name="testVersion" value="7.0-" />


	<!-- Rules -->
    <rule ref="PHPCompatibilityWP"/>

	<rule ref="WordPress.WP.I18n">
		<properties>
			<property name="text_domain" type="array" value="smntcs-nord-admin-theme" />
		</properties>
	</rule>

	<rule ref="Generic.Arrays.DisallowLongArraySyntax" />

	<rule ref="PEAR.Functions.FunctionCallSignature">
		<properties>
			<property name="requiredSpacesAfterOpen" value="1"/>
			<property name="requiredSpacesBeforeClose" value="1"/>
		</properties>
	</rule>


</ruleset>