(no commit message)
authorChristian Weiske <cweiske@cweiske.de>
Wed, 12 Feb 2014 12:01:18 +0000 (13:01 +0100)
committerwww-cweiske <www-cweiske@localhost.localdomain>
Wed, 12 Feb 2014 12:01:18 +0000 (13:01 +0100)
phork0.txt [new file with mode: 0644]

diff --git a/phork0.txt b/phork0.txt
new file mode 100644 (file)
index 0000000..848b7fc
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<ruleset name="Netresearch">\r
+  <description>The coding standard for Netresearch projects.</description>\r
+\r
+  <!-- Include the whole PEAR standard -->\r
+  <rule ref="PEAR">\r
+    <exclude name="PEAR.Files.IncludingFile" />\r
+    <exclude name="PEAR.NamingConventions.ValidClassName" />\r
+    <exclude name="PEAR.NamingConventions.ValidFunctionName" />\r
+    <exclude name="PEAR.NamingConventions.ValidVariableName" />\r
+  </rule>\r
+\r
+  <rule ref="Generic.Commenting.Fixme" />\r
+  <rule ref="Generic.Commenting.Todo" />\r
+\r
+  <rule ref="Generic.Files.ByteOrderMark" />\r
+  <rule ref="Generic.Files.EndFileNewline" />\r
+  <rule ref="Generic.Files.OneClassPerFile" />\r
+  <rule ref="Generic.Files.OneInterfacePerFile" />\r
+\r
+  <rule ref="Generic.Formatting.SpaceAfterCast" />\r
+  <rule ref="Generic.Functions.CallTimePassByReference" />\r
+  <rule ref="Generic.Functions.FunctionCallArgumentSpacing" />\r
+\r
+  <rule ref="Generic.Metrics.CyclomaticComplexity" />\r
+  <rule ref="Generic.Metrics.NestingLevel" />\r
+\r
+  <rule ref="Generic.NamingConventions.CamelCapsFunctionName" />\r
+  <rule ref="Generic.NamingConventions.ConstructorName" />\r
+  <rule ref="Generic.NamingConventions.UpperCaseConstantName" />\r
+\r
+  <rule ref="Generic.PHP.CharacterBeforePHPOpeningTag" />\r
+  <rule ref="Generic.PHP.ClosingPHPTag" />\r
+  <rule ref="Generic.PHP.DeprecatedFunctions" />\r
+  <rule ref="Generic.PHP.ForbiddenFunctions" />\r
+  <rule ref="Generic.PHP.LowerCaseConstant" />\r
+  <rule ref="Generic.PHP.LowerCaseKeyword" />\r
+  <rule ref="Generic.PHP.NoSilencedErrors" />\r
+\r
+  <rule ref="Generic.Strings.UnnecessaryStringConcat" />\r
+\r
+  <rule ref="Generic.WhiteSpace.DisallowTabIndent" />\r
+\r
+  <rule ref="Generic.PHP.ClosingPHPTag.NotFound">\r
+    <exclude-pattern>*/tests/*</exclude-pattern>\r
+  </rule>\r
+\r
+  <rule ref="PEAR.Commenting.FileComment">\r
+    <exclude-pattern>*/tests/*</exclude-pattern>\r
+  </rule>\r
+  <rule ref="PEAR.Commenting.ClassComment">\r
+    <exclude-pattern>*/tests/*</exclude-pattern>\r
+  </rule>\r
+  <rule ref="PEAR.Commenting.FunctionComment">\r
+    <exclude-pattern>*/tests/*</exclude-pattern>\r
+  </rule>\r
+</ruleset>
\ No newline at end of file