Create Composer scripts to help during development

This commit will create Composer scripts for commands that are
frequently used during the development of the library.

Co-authored-by: Henrique Moody <henriquemoody@gmail.com>
This commit is contained in:
Danilo Correa 2018-09-19 21:28:42 -03:00 committed by Henrique Moody
parent 03ea1b75f6
commit b399bfe1c1
No known key found for this signature in database
GPG key ID: 221E9281655813A6

View file

@ -52,6 +52,17 @@
}
},
"scripts": {
"test": "./vendor/bin/phpunit"
"docheader": "docheader check library/ tests/",
"php-cs-fixer": "php-cs-fixer fix",
"phpstan": "phpstan analyze",
"phpunit": "phpunit",
"phpunit-integration": "phpunit --testsuite=integration",
"phpunit-unit": "phpunit --testsuite=unit",
"qa": [
"@docheader",
"@php-cs-fixer",
"@phpstan",
"@phpunit"
]
}
}