Skip to content

Commit

Permalink
Updated composer scripts
Browse files Browse the repository at this point in the history
Developers can now run all checks including static analysis checks with
"composer check".
  • Loading branch information
driehle authored and greg0ire committed Nov 4, 2021
1 parent f59739b commit 84a5b45
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,15 @@
"scripts": {
"check": [
"@cs-check",
"@phpstan",
"@psalm",
"@test"
],
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"phpstan": "phpstan analyse",
"psalm": "psalm --stats",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --coverage-clover=coverage.xml"
"test-coverage": "phpunit --colors=always --coverage-clover=coverage.xml"
}
}

0 comments on commit 84a5b45

Please sign in to comment.