From 1c32f7f7921ba4c090fc9ee9e74f5805f734e1e3 Mon Sep 17 00:00:00 2001 From: Will Pillar Date: Tue, 28 Apr 2015 22:51:38 +0100 Subject: [PATCH] Adding composer commands for the sniffer and sniff fixer --- composer.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 82231cb9..743c8040 100644 --- a/composer.json +++ b/composer.json @@ -76,7 +76,9 @@ "post-create-project-cmd": [ "php -r \"copy('.env.example', '.env');\"", "php artisan key:generate" - ] + ], + "sniff": "vendor/bin/phpcs -n --standard=vendor/mybb/standards/MyBB2", + "sniff-fix": "vendor/bin/phpcbf -n --standard=vendor/mybb/standards/MyBB2" }, "config": { "preferred-install": "dist"