Add composer scripts and box file

Este commit está contenido en:
Florian Brinker 2021-05-09 23:23:28 +02:00
padre 8d452cf62b
commit cece9d0d02
Se han modificado 2 ficheros con 19 adiciones y 0 borrados

5
box.json Archivo normal
Ver fichero

@ -0,0 +1,5 @@
{
"base-path": null,
"output": "build/extension-check.phar",
"chmod": "0700"
}

Ver fichero

@ -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"
}
}