(no commit message)
[paste/82.git] / phork0.txt
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <ruleset name="Netresearch">\r
3   <description>The coding standard for Netresearch projects.</description>\r
4 \r
5   <!-- Include the whole PEAR standard -->\r
6   <rule ref="PEAR">\r
7     <exclude name="PEAR.Files.IncludingFile" />\r
8     <exclude name="PEAR.NamingConventions.ValidClassName" />\r
9     <exclude name="PEAR.NamingConventions.ValidFunctionName" />\r
10     <exclude name="PEAR.NamingConventions.ValidVariableName" />\r
11   </rule>\r
12 \r
13   <rule ref="Generic.Commenting.Fixme" />\r
14   <rule ref="Generic.Commenting.Todo" />\r
15 \r
16   <rule ref="Generic.Files.ByteOrderMark" />\r
17   <rule ref="Generic.Files.EndFileNewline" />\r
18   <rule ref="Generic.Files.OneClassPerFile" />\r
19   <rule ref="Generic.Files.OneInterfacePerFile" />\r
20 \r
21   <rule ref="Generic.Formatting.SpaceAfterCast" />\r
22   <rule ref="Generic.Functions.CallTimePassByReference" />\r
23   <rule ref="Generic.Functions.FunctionCallArgumentSpacing" />\r
24 \r
25   <rule ref="Generic.Metrics.CyclomaticComplexity" />\r
26   <rule ref="Generic.Metrics.NestingLevel" />\r
27 \r
28   <rule ref="Generic.NamingConventions.CamelCapsFunctionName" />\r
29   <rule ref="Generic.NamingConventions.ConstructorName" />\r
30   <rule ref="Generic.NamingConventions.UpperCaseConstantName" />\r
31 \r
32   <rule ref="Generic.PHP.CharacterBeforePHPOpeningTag" />\r
33   <rule ref="Generic.PHP.ClosingPHPTag" />\r
34   <rule ref="Generic.PHP.DeprecatedFunctions" />\r
35   <rule ref="Generic.PHP.ForbiddenFunctions" />\r
36   <rule ref="Generic.PHP.LowerCaseConstant" />\r
37   <rule ref="Generic.PHP.LowerCaseKeyword" />\r
38   <rule ref="Generic.PHP.NoSilencedErrors" />\r
39 \r
40   <rule ref="Generic.Strings.UnnecessaryStringConcat" />\r
41 \r
42   <rule ref="Generic.WhiteSpace.DisallowTabIndent" />\r
43 \r
44   <rule ref="Generic.PHP.ClosingPHPTag.NotFound">\r
45     <exclude-pattern>*/tests/*</exclude-pattern>\r
46   </rule>\r
47 \r
48   <rule ref="PEAR.Commenting.FileComment">\r
49     <exclude-pattern>*/tests/*</exclude-pattern>\r
50   </rule>\r
51   <rule ref="PEAR.Commenting.ClassComment">\r
52     <exclude-pattern>*/tests/*</exclude-pattern>\r
53   </rule>\r
54   <rule ref="PEAR.Commenting.FunctionComment">\r
55     <exclude-pattern>*/tests/*</exclude-pattern>\r
56   </rule>\r
57 </ruleset>