File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 1
1
{
2
+ "$schema" : " https://getcomposer.org/schema.json" ,
2
3
"name" : " chillerlan/php-qrcode" ,
3
4
"description" : " A QR Code generator and reader with a user-friendly API. PHP 7.4+" ,
4
5
"homepage" : " https://github.com/chillerlan/php-qrcode" ,
79
80
"scripts" : {
80
81
"phan" : " @php vendor/bin/phan" ,
81
82
"phpcs" : " @php vendor/bin/phpcs" ,
83
+ "phpmd" : " @php vendor/bin/phpmd src text ./phpmd.xml.dist" ,
82
84
"phpunit" : " @php vendor/bin/phpunit"
83
85
},
84
86
"config" : {
Original file line number Diff line number Diff line change 31
31
<exclude name =" CamelCaseVariableName" />
32
32
</rule >
33
33
<rule ref =" rulesets/design.xml" >
34
+ <exclude name =" CouplingBetweenObjects" />
35
+ <exclude name =" ExcessiveMethodLength" />
36
+ <exclude name =" ExcessiveParameterList" />
34
37
<!-- exits are only used in examples -->
35
38
<exclude name =" ExitExpression" />
39
+ <exclude name =" TooManyPublicMethods" />
36
40
</rule >
37
41
<rule ref =" rulesets/naming.xml" >
38
42
<exclude name =" LongVariable" />
You can’t perform that action at this time.
0 commit comments