Skip to content

Commit

Permalink
Enforce docblocks for complex methods by set thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
coenjacobs committed Sep 19, 2024
1 parent 36a61f7 commit 4a5a07d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,16 @@
"symfony/finder": "^5.4",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"phpcompatibility/php-compatibility": "dev-develop",
"phpmd/phpmd": "^2.15"
"phpmd/phpmd": "^2.15",
"niels-de-blaauw/php-doc-check": "^0.4.0"
},
"scripts": {
"test": [
"@test:lint",
"@test:phpunit",
"@test:phpstan",
"@test:phpmd"
"@test:phpmd",
"@test:docs"
],
"test:lint": [
"composer validate",
Expand All @@ -62,6 +64,9 @@
],
"test:phpmd": [
"./vendor/bin/phpmd src ansi phpmd.xml.dist"
],
"test:docs": [
"./vendor/bin/php-doc-check src"
]
}
}

0 comments on commit 4a5a07d

Please sign in to comment.