diff options
author | Andrew Dolgov <[email protected]> | 2021-02-26 19:16:17 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-26 19:16:17 +0300 |
commit | 3fd785654372d493c031d9b541ab33a881023a32 (patch) | |
tree | 0a76cb410217074378de3d7012b95754cd3c7e6f /vendor/chillerlan/php-qrcode/phpmd.xml | |
parent | bc4475b6698f5a74e475674aa7af43253c459892 (diff) |
* switch to composer for qrcode and otp dependencies
* move most OTP-related stuff into userhelper
* remove old phpqrcode and otphp libraries
Diffstat (limited to 'vendor/chillerlan/php-qrcode/phpmd.xml')
-rw-r--r-- | vendor/chillerlan/php-qrcode/phpmd.xml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/vendor/chillerlan/php-qrcode/phpmd.xml b/vendor/chillerlan/php-qrcode/phpmd.xml new file mode 100644 index 000000000..a70f7e3a1 --- /dev/null +++ b/vendor/chillerlan/php-qrcode/phpmd.xml @@ -0,0 +1,34 @@ +<?xml version="1.0"?> +<ruleset name="codemasher/php-qrcode PMD ruleset" + xmlns="http://pmd.sf.net/ruleset/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd" + xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd"> + <description>codemasher/php-qrcode PMD ruleset</description> + <exclude-pattern>*/examples/*</exclude-pattern> + <exclude-pattern>*/tests/*</exclude-pattern> + <rule ref="rulesets/cleancode.xml"> + <exclude name="BooleanArgumentFlag"/> + </rule> + <rule ref="rulesets/codesize.xml/CyclomaticComplexity"> + <priority>1</priority> + <properties> + <property name="maximum" value="200" /> + </properties> + </rule> + <rule ref="rulesets/controversial.xml"> + <exclude name="CamelCaseMethodName"/> + <exclude name="CamelCasePropertyName"/> + <exclude name="CamelCaseParameterName"/> + <exclude name="CamelCaseVariableName"/> + </rule> + <rule ref="rulesets/design.xml"> + </rule> + <rule ref="rulesets/naming.xml"> + <exclude name="LongVariable"/> + <exclude name="ShortVariable"/> + </rule> + <rule ref="rulesets/unusedcode.xml"> + <exclude name="UnusedFormalParameter"/> + </rule> +</ruleset> |