Add composer scripts and box file
This commit is contained in:
rodzic
8d452cf62b
commit
cece9d0d02
5
box.json
Normal file
5
box.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"base-path": null,
|
||||
"output": "build/extension-check.phar",
|
||||
"chmod": "0700"
|
||||
}
|
@ -43,5 +43,19 @@
|
||||
"config": {
|
||||
"preferred-install": "dist",
|
||||
"sort-packages": true
|
||||
},
|
||||
"scripts": {
|
||||
"check": [
|
||||
"./vendor/bin/phpcbf",
|
||||
"./vendor/bin/phpcs",
|
||||
"./vendor/bin/phpstan analyse"
|
||||
],
|
||||
"test" : [
|
||||
"./vendor/bin/phpunit tests"
|
||||
]
|
||||
},
|
||||
"scripts-descriptions": {
|
||||
"check": "Check the sources for problems and style violations",
|
||||
"test": "Run all tests"
|
||||
}
|
||||
}
|
||||
|
Ładowanie…
Reference in New Issue
Block a user