mirror of
https://github.com/Mibew/handlebars.php.git
synced 2025-05-03 02:26:41 +03:00
added CodeSniffer's syntax check as part of travis tests
This commit is contained in:
parent
795792791e
commit
df27950e56
@ -3,4 +3,4 @@ php:
|
|||||||
- 5.3
|
- 5.3
|
||||||
- 5.4
|
- 5.4
|
||||||
before_script: composer install
|
before_script: composer install
|
||||||
script: "./vendor/bin/phpunit"
|
script: "./vendor/bin/phpunit && ./vendor/bin/phpcs -n src/"
|
||||||
|
@ -20,7 +20,8 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "3.7.*"
|
"phpunit/phpunit": "3.7.*",
|
||||||
|
"squizlabs/php_codesniffer": "1.*"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {
|
"psr-0": {
|
||||||
|
Loading…
Reference in New Issue
Block a user