forked from dittertp/ExtDirect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
31 lines (25 loc) · 1.12 KB
/
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
<?xml version="1.0"?>
<ruleset name="appserver.io">
<!--
The appserver.io coding standard is using a mix of PSR-2
coding conventions and PEAR doc-block commenting rules.
-->
<description>appserver.io coding standard</description>
<!-- Define global exclude patterns -->
<exclude-pattern type="relative">Example/*</exclude-pattern>
<exclude-pattern type="relative">doc/*</exclude-pattern>
<exclude-pattern type="relative">target/*</exclude-pattern>
<exclude-pattern type="relative">tests/*</exclude-pattern>
<exclude-pattern type="relative">test/*</exclude-pattern>
<exclude-pattern type="relative">vendor/*</exclude-pattern>
<!-- Mainly use PSR2 coding standard -->
<rule ref="PSR2"/>
<!-- Include commenting sniffs from PEAR standard -->
<rule ref="PEAR.Commenting.FileComment"/>
<rule ref="PEAR.Commenting.ClassComment"/>
<rule ref="PEAR.Commenting.FunctionComment"/>
<rule ref="PEAR.Commenting.InlineComment"/>
<!-- Include generic commenting sniffs -->
<rule ref="Generic.Commenting.Fixme"/>
<rule ref="Generic.Commenting.Todo"/>
</ruleset>