1
0
mirror of https://github.com/danog/dns.git synced 2025-01-22 13:31:12 +01:00

Add composer scripts

This commit is contained in:
Aaron Piotrowski 2019-03-03 09:05:43 -06:00
parent 1ccd6337f7
commit 135c6164ec
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB

View File

@ -65,5 +65,14 @@
"platform": {
"php": "7.0.0"
}
},
"scripts": {
"check": [
"@cs",
"@test"
],
"cs": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix -v --diff --dry-run",
"cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix -v --diff",
"test": "@php -dzend.assertions=1 -dassert.exception=1 ./vendor/bin/phpunit --coverage-text"
}
}