Skip to content

Commit

Permalink
Added convenient development commands
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenVanOort committed Jan 31, 2020
1 parent 6f6b093 commit 874f389
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,21 @@
"branch-alias" : {
"dev-master" : "4.0.x-dev"
}
},
"scripts": {
"phpstan": [
"@php vendor/bin/phpstan analyse lib tests"
],
"php-cs-fixer": [
"@php vendor/bin/php-cs-fixer fix"
],
"phpunit": [
"@php vendor/bin/phpunit --configuration tests/phpunit.xml"
],
"test": [
"composer phpstan",
"composer php-cs-fixer",
"composer phpunit"
]
}
}

0 comments on commit 874f389

Please sign in to comment.