diff --git a/.travis.yml b/.travis.yml index 7a61572..d87306b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,3 +10,4 @@ before_script: script: - vendor/bin/phpcs --standard=psr2 src - vendor/bin/phpunit --debug + - vendor/bin/phpmd src text codesize,unusedcode,naming diff --git a/composer.json b/composer.json index a85bdbe..dcb7aed 100644 --- a/composer.json +++ b/composer.json @@ -21,6 +21,7 @@ } }, "require-dev": { - "phpunit/phpunit": "^5.7" + "phpunit/phpunit": "^5.7", + "phpmd/phpmd": "^2.5" } }