mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-09-14 19:56:33 +00:00
:octocat: +phpmd command
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"$schema": "https://getcomposer.org/schema.json",
|
||||
"name": "chillerlan/php-qrcode",
|
||||
"description": "A QR Code generator and reader with a user-friendly API. PHP 7.4+",
|
||||
"homepage": "https://github.com/chillerlan/php-qrcode",
|
||||
@@ -79,6 +80,7 @@
|
||||
"scripts": {
|
||||
"phan": "@php vendor/bin/phan",
|
||||
"phpcs": "@php vendor/bin/phpcs",
|
||||
"phpmd": "@php vendor/bin/phpmd src text ./phpmd.xml.dist",
|
||||
"phpunit": "@php vendor/bin/phpunit"
|
||||
},
|
||||
"config": {
|
||||
|
||||
@@ -31,8 +31,12 @@
|
||||
<exclude name="CamelCaseVariableName"/>
|
||||
</rule>
|
||||
<rule ref="rulesets/design.xml">
|
||||
<exclude name="CouplingBetweenObjects"/>
|
||||
<exclude name="ExcessiveMethodLength"/>
|
||||
<exclude name="ExcessiveParameterList"/>
|
||||
<!-- exits are only used in examples -->
|
||||
<exclude name="ExitExpression"/>
|
||||
<exclude name="TooManyPublicMethods"/>
|
||||
</rule>
|
||||
<rule ref="rulesets/naming.xml">
|
||||
<exclude name="LongVariable"/>
|
||||
|
||||
Reference in New Issue
Block a user