]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/thrift/phpcs.xml.dist
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / jaegertracing / thrift / phpcs.xml.dist
diff --git a/ceph/src/jaegertracing/thrift/phpcs.xml.dist b/ceph/src/jaegertracing/thrift/phpcs.xml.dist
new file mode 100644 (file)
index 0000000..180388a
--- /dev/null
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<ruleset name="Apache_Thrift">
+    <description>The coding standard for thrift.</description>
+
+    <file>lib/php/lib</file>
+    <file>lib/php/test</file>
+    <exclude-pattern>lib/php/test/packages/*</exclude-pattern>
+
+    <arg name="basepath" value="."/>
+    <arg name="colors" />
+    <arg name="parallel" value="4" />
+
+    <rule ref="PSR2">
+        <exclude name="PSR2.Methods.MethodDeclaration.Underscore"/>
+        <exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/>
+    </rule>
+
+    <rule ref="PSR1.Files.SideEffects">
+        <exclude-pattern>lib/php/test/*</exclude-pattern>
+    </rule>
+    <rule ref="Generic.Files.LineLength">
+        <exclude-pattern>lib/php/test/*</exclude-pattern>
+    </rule>
+
+</ruleset>