mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-09-04 14:37:36 +00:00
:octocat: +phpmd command
This commit is contained in:
@@ -87,6 +87,7 @@
|
||||
"@php vendor/bin/phpbench run"
|
||||
],
|
||||
"phpcs": "@php vendor/bin/phpcs",
|
||||
"phpmd": "@php vendor/bin/phpmd src text ./phpmd.xml.dist",
|
||||
"phpstan": "@php vendor/bin/phpstan",
|
||||
"phpstan-baseline": "@php vendor/bin/phpstan --generate-baseline",
|
||||
"phpunit": "@php vendor/bin/phpunit"
|
||||
|
||||
@@ -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