forked from kort/kort
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcode_standard.xml
30 lines (26 loc) · 991 Bytes
/
code_standard.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
<?xml version="1.0"?>
<ruleset name="KortStandard">
<description>The kort-specific coding standard (fully includes PSR-2).</description>
<!-- Include the whole PSR-2 standard -->
<rule ref="PSR2" />
<!-- Ignore camel case rule for mocks (to allow to override built-in functions) -->
<rule ref="Generic.NamingConventions.CamelCapsFunctionName">
<exclude-pattern>*/Test/Mock*</exclude-pattern>
</rule>
<!-- Include PHPDoc rules -->
<rule ref="Squiz.Commenting.FunctionComment">
<exclude-pattern>*/Test/*</exclude-pattern>
</rule>
<rule ref="Squiz.Commenting.FunctionCommentThrowTag">
<exclude-pattern>*/Test/*</exclude-pattern>
</rule>
<rule ref="Squiz.Commenting.ClassComment">
<exclude-pattern>*/Test/*</exclude-pattern>
</rule>
<rule ref="Squiz.Commenting.VariableComment">
<exclude-pattern>*/Test/*</exclude-pattern>
</rule>
<rule ref="Squiz.Commenting.DocCommentAlignment">
<exclude-pattern>*/Test/*</exclude-pattern>
</rule>
</ruleset>