From 8c091b8e63ea1c6b990e1213e3aa5959f24057f1 Mon Sep 17 00:00:00 2001 From: Aidan Woods Date: Tue, 4 Dec 2018 17:47:34 +0100 Subject: [PATCH] Testing composer shortcuts --- composer.json | 10 ++++++++++ 1 file changed, 10 insertions(+) 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" } }