Skip to content

Commit

Permalink
Add code check tools
Browse files Browse the repository at this point in the history
  • Loading branch information
pelmered committed Sep 25, 2024
1 parent 1226612 commit 104dff2
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@
},
"require-dev": {
"larapack/dd": "^1.1",
"phpstan/phpstan": "^1.12",
"pestphp/pest": "^3.0",
"pestphp/pest-plugin-drift": "3.x-dev"
"pestphp/pest-plugin-drift": "3.x-dev",
"phpstan/phpstan": "^1.12",
"laravel/pint": "^1.18"
},
"autoload": {
"psr-4": {
Expand All @@ -37,11 +38,17 @@
}
},
"scripts": {
"lint": [
"composer phpstan",
"composer pint"
],
"phpstan": "vendor/bin/phpstan analyse src --level=8",
"pint": "vendor/bin/pint",
"test": [
"./vendor/bin/phpunit -c phpunit.xml"
"./vendor/bin/pest"
],
"test-coverage": [
"./vendor/bin/phpunit -c phpunit.xml --coverage-text"
"./vendor/bin/pest --coverage-text"
],
"phpmd": [
"php ./vendor/bin/phpmd src ansi ./phpmd-ruleset.xml --ignore-violations-on-exit"
Expand Down

0 comments on commit 104dff2

Please sign in to comment.