-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcsRuleset.xml
30 lines (26 loc) · 960 Bytes
/
phpcsRuleset.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="MyStandard">
<description>PSR2 with tabs instead of spaces.</description>
<config name="installed_paths" value="vendor/slevomat/coding-standard"/>
<file>.</file>
<exclude-pattern>./tests/</exclude-pattern>
<exclude-pattern>./vendor/</exclude-pattern>
<arg name="extensions" value="php"/>
<arg name="tab-width" value="4" />
<rule ref="PSR2">
<exclude name="Generic.WhiteSpace.DisallowTabIndent" />
</rule>
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent" />
<rule ref="Generic.WhiteSpace.ScopeIndent">
<properties>
<property name="indent" value="4" />
<property name="tabIndent" value="true" />
</properties>
</rule>
<rule ref="Generic.Files.LineEndings">
<exclude name="Generic.Files.LineEndings.InvalidEOLChar"/>
</rule>
<rule ref="Generic.NamingConventions.UpperCaseConstantName">
<exclude name="Generic.NamingConventions.UpperCaseConstantName"/>
</rule>
</ruleset>