summaryrefslogtreecommitdiffstats
path: root/src/jaegertracing/thrift/phpcs.xml.dist
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:45:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:45:59 +0000
commit19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch)
tree42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /src/jaegertracing/thrift/phpcs.xml.dist
parentInitial commit. (diff)
downloadceph-upstream/16.2.11+ds.tar.xz
ceph-upstream/16.2.11+ds.zip
Adding upstream version 16.2.11+ds.upstream/16.2.11+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/jaegertracing/thrift/phpcs.xml.dist')
-rw-r--r--src/jaegertracing/thrift/phpcs.xml.dist25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/jaegertracing/thrift/phpcs.xml.dist b/src/jaegertracing/thrift/phpcs.xml.dist
new file mode 100644
index 000000000..180388aea
--- /dev/null
+++ b/src/jaegertracing/thrift/phpcs.xml.dist
@@ -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>