-
Notifications
You must be signed in to change notification settings - Fork 1
/
.phpcs.xml
28 lines (24 loc) · 1 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
<?xml version="1.0"?>
<ruleset name="DD Trace PHP">
<description>Sniffs for DD Trace PHP</description>
<file>./</file>
<rule ref="PSR12"/>
<rule ref="Generic.Commenting.Todo"/>
<rule ref="Generic.Commenting.Fixme"/>
<rule ref="Generic.Commenting.DocComment.MissingShort">
<severity>0</severity>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
<!-- PHP compatibility checks -->
<config name="testVersion" value="5.4-7.3"/>
<exclude-pattern>playground*.php</exclude-pattern>
<exclude-pattern>run-tests.php</exclude-pattern>
<exclude-pattern>src/dd-doctor.php</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>tests/ext/*</exclude-pattern>
<exclude-pattern>tests/Frameworks/*/Version_*/*</exclude-pattern>
<exclude-pattern>tests/AutoInstrumentation</exclude-pattern>
</ruleset>