1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <ruleset name="Netresearch">
\r
3 <description>The coding standard for Netresearch projects.</description>
\r
5 <!-- Include the whole PEAR standard -->
\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
13 <rule ref="Generic.Commenting.Fixme" />
\r
14 <rule ref="Generic.Commenting.Todo" />
\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
21 <rule ref="Generic.Formatting.SpaceAfterCast" />
\r
22 <rule ref="Generic.Functions.CallTimePassByReference" />
\r
23 <rule ref="Generic.Functions.FunctionCallArgumentSpacing" />
\r
25 <rule ref="Generic.Metrics.CyclomaticComplexity" />
\r
26 <rule ref="Generic.Metrics.NestingLevel" />
\r
28 <rule ref="Generic.NamingConventions.CamelCapsFunctionName" />
\r
29 <rule ref="Generic.NamingConventions.ConstructorName" />
\r
30 <rule ref="Generic.NamingConventions.UpperCaseConstantName" />
\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
40 <rule ref="Generic.Strings.UnnecessaryStringConcat" />
\r
42 <rule ref="Generic.WhiteSpace.DisallowTabIndent" />
\r
44 <rule ref="Generic.PHP.ClosingPHPTag.NotFound">
\r
45 <exclude-pattern>*/tests/*</exclude-pattern>
\r
48 <rule ref="PEAR.Commenting.FileComment">
\r
49 <exclude-pattern>*/tests/*</exclude-pattern>
\r
51 <rule ref="PEAR.Commenting.ClassComment">
\r
52 <exclude-pattern>*/tests/*</exclude-pattern>
\r
54 <rule ref="PEAR.Commenting.FunctionComment">
\r
55 <exclude-pattern>*/tests/*</exclude-pattern>
\r