-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruleset.xml
21 lines (18 loc) · 1.07 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="vnstat-frontend-style">
<description>PHP Native Mock 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/Betterphp" />
<!-- PHPUnit uses special function comments -->
<rule ref="Betterphp.Commenting.FunctionComment">
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<!-- Not too bothered about spacing and full stops -->
<rule ref="Betterphp.Commenting.FunctionComment.SpacingAfterParamType"><severity>0</severity></rule>
<rule ref="Betterphp.Commenting.FunctionComment.SpacingAfterParamName"><severity>0</severity></rule>
<rule ref="Betterphp.Commenting.FunctionComment.ThrowsNoFullStop"><severity>0</severity></rule>
<rule ref="Betterphp.Commenting.FunctionComment.ParamCommentFullStop"><severity>0</severity></rule>
</ruleset>