<?xml version="1.0" encoding="UTF-8"?> <ruleset name="Netresearch"> <description>The coding standard for Netresearch projects.</description> <!-- Include the whole PEAR standard --> <rule ref="PEAR"> <exclude name="PEAR.Files.IncludingFile" /> <exclude name="PEAR.NamingConventions.ValidClassName" /> <exclude name="PEAR.NamingConventions.ValidFunctionName" /> <exclude name="PEAR.NamingConventions.ValidVariableName" /> </rule> <rule ref="Generic.Commenting.Fixme" /> <rule ref="Generic.Commenting.Todo" /> <rule ref="Generic.Files.ByteOrderMark" /> <rule ref="Generic.Files.EndFileNewline" /> <rule ref="Generic.Files.OneClassPerFile" /> <rule ref="Generic.Files.OneInterfacePerFile" /> <rule ref="Generic.Formatting.SpaceAfterCast" /> <rule ref="Generic.Functions.CallTimePassByReference" /> <rule ref="Generic.Functions.FunctionCallArgumentSpacing" /> <rule ref="Generic.Metrics.CyclomaticComplexity" /> <rule ref="Generic.Metrics.NestingLevel" /> <rule ref="Generic.NamingConventions.CamelCapsFunctionName" /> <rule ref="Generic.NamingConventions.ConstructorName" /> <rule ref="Generic.NamingConventions.UpperCaseConstantName" /> <rule ref="Generic.PHP.CharacterBeforePHPOpeningTag" /> <rule ref="Generic.PHP.ClosingPHPTag" /> <rule ref="Generic.PHP.DeprecatedFunctions" /> <rule ref="Generic.PHP.ForbiddenFunctions" /> <rule ref="Generic.PHP.LowerCaseConstant" /> <rule ref="Generic.PHP.LowerCaseKeyword" /> <rule ref="Generic.PHP.NoSilencedErrors" /> <rule ref="Generic.Strings.UnnecessaryStringConcat" /> <rule ref="Generic.WhiteSpace.DisallowTabIndent" /> <rule ref="Generic.PHP.ClosingPHPTag.NotFound"> <exclude-pattern>*/tests/*</exclude-pattern> </rule> <rule ref="PEAR.Commenting.FileComment"> <exclude-pattern>*/tests/*</exclude-pattern> </rule> <rule ref="PEAR.Commenting.ClassComment"> <exclude-pattern>*/tests/*</exclude-pattern> </rule> <rule ref="PEAR.Commenting.FunctionComment"> <exclude-pattern>*/tests/*</exclude-pattern> </rule> </ruleset>