diff --git a/composer.json b/composer.json index 1c34e40..bf746e9 100644 --- a/composer.json +++ b/composer.json @@ -25,5 +25,15 @@ }, "autoload-dev": { "psr-4": {"Erusev\\Parsedown\\Tests\\": "tests/"} + }, + "scripts": { + "test": [ + "@test-units", + "@test-formatting" + ], + "test-units": "vendor/bin/phpunit", + "test-formatting": "@composer fix -- --dry-run", + + "fix": "vendor/bin/php-cs-fixer fix --verbose --show-progress=dots --diff" } }