Skip to content

Commit 03b44a4

Browse files
committed
Add composer test, phpunit and phpcs scripts
1 parent f762309 commit 03b44a4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

composer.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,20 @@
3535
"container-interop/container-interop": "^1.1"
3636
},
3737
"require-dev": {
38+
"squizlabs/php_codesniffer": "^2.5",
3839
"phpunit/phpunit": "^4.0"
3940
},
4041
"autoload": {
4142
"psr-4": {
4243
"Slim\\": "Slim"
4344
}
45+
},
46+
"scripts": {
47+
"test": [
48+
"php vendor/bin/phpcs",
49+
"php vendor/bin/phpunit"
50+
],
51+
"phpunit": "php vendor/bin/phpunit",
52+
"phpcs": "php vendor/bin/phpcs"
4453
}
4554
}

0 commit comments

Comments
 (0)