-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
34 lines (29 loc) · 924 Bytes
/
phpcs.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
31
32
33
34
<?xml version="1.0"?>
<ruleset name="PSR2">
<description>The PSR2 coding standard.</description>
<rule ref="PSR2"/>
<rule ref="Generic.WhiteSpace.ScopeIndent">
<properties>
<property name="indent" value="2"/>
</properties>
</rule>
<rule ref="Squiz.Functions.MultiLineFunctionDeclaration">
<properties>
<property name="indent" value="2"/>
</properties>
</rule>
<rule ref="PSR2.Methods.FunctionCallSignature">
<properties>
<property name="indent" value="2"/>
</properties>
</rule>
<file>src</file>
<!-- Exclude files that do not contain PHP, Javascript or CSS code. -->
<exclude-pattern>composer.lock</exclude-pattern>
<!-- Exclude the `vendor` folder. -->
<exclude-pattern>vendor/</exclude-pattern>
<!-- PHP CodeSniffer command line options -->
<arg name="extensions" value="php"/>
<arg name="report" value="full"/>
<arg value="p"/>
</ruleset>