File: phpcs.xml

package info (click to toggle)
php-phpstan-phpdoc-parser 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,496 kB
  • sloc: php: 21,857; makefile: 50; xml: 42; sh: 17
file content (22 lines) | stat: -rw-r--r-- 715 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?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>