Skip to content

Commit

Permalink
Update composer test target
Browse files Browse the repository at this point in the history
Add composer phpunit and composer phpcs to match the way that core Slim
does it.
  • Loading branch information
akrabat committed May 9, 2024
1 parent c514f7f commit 0570d50
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@
}
},
"scripts": {
"test": "phpunit --configuration phpunit.xml.dist",
"test": [
"@phpcs",
"@phpunit"
],
"phpunit": "phpunit",
"phpcs": "phpcs",
"test:coverage": "phpunit --configuration phpunit.xml.dist --coverage-clover build/logs/clover.xml --coverage-html build/coverage"
},
"config": {
Expand Down

0 comments on commit 0570d50

Please sign in to comment.