diff --git a/box.json b/box.json new file mode 100644 index 0000000..acf6f98 --- /dev/null +++ b/box.json @@ -0,0 +1,5 @@ +{ + "base-path": null, + "output": "build/extension-check.phar", + "chmod": "0700" + } \ No newline at end of file diff --git a/composer.json b/composer.json index 02ab642..ab0a2b3 100644 --- a/composer.json +++ b/composer.json @@ -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" } }