Use Composer to run PHPCS and PHPMD tests
This commit is contained in:
@@ -31,5 +31,15 @@
|
||||
"require": {
|
||||
"php": ">=5.5.0",
|
||||
"composer/installers": "~1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"squizlabs/php_codesniffer": "^2.5.1",
|
||||
"phpmd/phpmd": "^2.4.2"
|
||||
},
|
||||
"scripts": {
|
||||
"test": [
|
||||
"vendor/bin/phpcs",
|
||||
"vendor/bin/phpmd src text cleancode,codesize,controversial,design,naming,unusedcode"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user