<?xml version="1.0"?>
<ruleset name="PHPStan Extensions Coding Standard">
	<config name="php_version" value="70200"/>
	<arg name="colors"/>
	<arg name="extensions" value="php"/>
	<arg name="encoding" value="utf-8"/>
	<arg name="tab-width" value="4"/>
	<arg name="cache" value="tmp/phpcs"/>
	<arg value="sp"/>

	<rule ref="build-cs/phpcs.xml">
		<exclude name="Squiz.Strings.DoubleQuoteUsage.ContainsVar"/>
	</rule>
	<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
		<properties>
			<property name="rootNamespaces" type="array">
				<element key="src" value="PHPStan\PhpDocParser"/>
				<element key="tests/PHPStan" value="PHPStan\PhpDocParser"/>
			</property>
		</properties>
	</rule>
</ruleset>
