-
Notifications
You must be signed in to change notification settings - Fork 8
/
phpcs.xml.dist
35 lines (28 loc) · 1.04 KB
/
phpcs.xml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0"?>
<ruleset name="PHPCS Rules">
<description>PHPCS rules for Third Party Capital.</description>
<rule ref="PSR2" />
<rule ref="PHPCompatibility"/>
<config name="testVersion" value="7.2-"/>
<rule ref="SlevomatCodingStandard.Namespaces.DisallowGroupUse" />
<rule ref="SlevomatCodingStandard.Namespaces.UseDoesNotStartWithBackslash" />
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses" />
<rule ref="SlevomatCodingStandard.Namespaces.UseFromSameNamespace" />
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses">
<properties>
<property name="searchAnnotations" value="true" />
</properties>
</rule>
<rule ref="Generic.Formatting.MultipleStatementAlignment"/>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="120"/>
<property name="absoluteLineLimit" value="0"/>
</properties>
<exclude-pattern>tests/*</exclude-pattern>
</rule>
<arg value="ps"/>
<arg name="extensions" value="php"/>
<file>./inc</file>
<file>./tests/phpunit</file>
</ruleset>