diff --git a/composer.json b/composer.json index fefd90b7..f5c8f0b3 100644 --- a/composer.json +++ b/composer.json @@ -9,5 +9,9 @@ "squizlabs/php_codesniffer": "^3.5" }, "license": "MIT", - "minimum-stability": "stable" + "minimum-stability": "stable", + "scripts": { + "cs-check": "phpcs -p --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1", + "cs-fix": "phpcbf -p --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1" + } }