-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruleset.xml
21 lines (18 loc) · 1.08 KB
/
ruleset.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>
<ruleset name="php-reflection-utils-style">
<description>PHP Reflection Utils Code Style</description>
<exclude-pattern type="relative">^.git/*</exclude-pattern>
<exclude-pattern type="relative">^vendor/*</exclude-pattern>
<exclude-pattern type="relative">^test-results/*</exclude-pattern>
<exclude-pattern type="relative">^docs/*</exclude-pattern>
<rule ref="vendor/betterphp/php-code-style/Standard" />
<!-- PHPUnis uses special function comments -->
<rule ref="Standard.Commenting.FunctionComment">
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<!-- Not too bothered about spacing and full stops -->
<rule ref="Standard.Commenting.FunctionComment.SpacingAfterParamType"><severity>0</severity></rule>
<rule ref="Standard.Commenting.FunctionComment.SpacingAfterParamName"><severity>0</severity></rule>
<rule ref="Standard.Commenting.FunctionComment.ThrowsNoFullStop"><severity>0</severity></rule>
<rule ref="Standard.Commenting.FunctionComment.ParamCommentFullStop"><severity>0</severity></rule>
</ruleset>