mirror of
https://github.com/Respect/Validation.git
synced 2024-06-11 02:02:16 +02:00
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:
parent
03ea1b75f6
commit
b399bfe1c1
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue