From 03b44a4b41896ba42c78bbd5fa172cd79e650496 Mon Sep 17 00:00:00 2001 From: Rob Allen Date: Fri, 8 Jan 2016 15:37:50 +0000 Subject: [PATCH] Add composer test, phpunit and phpcs scripts --- composer.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/composer.json b/composer.json index d92b4be26..df18901a3 100644 --- a/composer.json +++ b/composer.json @@ -35,11 +35,20 @@ "container-interop/container-interop": "^1.1" }, "require-dev": { + "squizlabs/php_codesniffer": "^2.5", "phpunit/phpunit": "^4.0" }, "autoload": { "psr-4": { "Slim\\": "Slim" } + }, + "scripts": { + "test": [ + "php vendor/bin/phpcs", + "php vendor/bin/phpunit" + ], + "phpunit": "php vendor/bin/phpunit", + "phpcs": "php vendor/bin/phpcs" } }