Skip to content

Commit

Permalink
Add composer test, phpunit and phpcs scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
akrabat committed Jan 8, 2016
1 parent f762309 commit 03b44a4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 03b44a4

Please sign in to comment.