PHPMD reintroduced.

This commit is contained in:
2024-07-04 09:38:03 +00:00
parent 5dc0c7058d
commit cf588f3fc2
28 changed files with 56692 additions and 165 deletions

View File

@ -26,12 +26,13 @@
},
"scripts": {
"test": "phpunit",
"document": "phpDocumentor",
"document": "phpDocumentor",
"benchmark": "phpbench run --report=default --output=build-artifact",
"metrics": "vendor/bin/phpmetrics --config=phpmetrics.json",
"lint": [
"phplint",
"phpcs"
"phpcs",
"phpmd src/,tests/,benchmark/,examples/ text phpmd.ruleset.xml"
],
"analyze": [
"@analyze-phpstan",
@ -47,10 +48,9 @@
],
"all": [
"@test",
"@document",
"@benchmark",
"@lint",
"@analyze",
"@document",
"@metrics",
"@html"
]