diff --git a/composer.json b/composer.json index 5b3a2624f..3fa7dd20a 100644 --- a/composer.json +++ b/composer.json @@ -30,5 +30,13 @@ }, "bin": [ "lib/Cake/Console/cake" - ] + ], + "scripts": { + "check": [ + "@cs-check", + "@test" + ], + "cs-check": "./vendors/bin/phpcs -p --extensions=php --standard=CakePHP ./lib/Cake", + "test": "./lib/Cake/Console/cake test core AllTests --stderr" + } }