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" } }