diff --git a/composer.json b/composer.json index 05bb1806..580b95c8 100644 --- a/composer.json +++ b/composer.json @@ -22,6 +22,13 @@ "name": "Erik Tilt" } ], + "scripts": { + "check": [ + "php-cs-fixer fix --ansi --dry-run --diff", + "phpcs --report-width=200 --report-summary --report-full samples/ src/ tests/ --standard=PSR2 -n", + "phpunit --color=always" + ] + }, "require": { "php": "^5.6|^7.0", "ext-mbstring": "*",