devdrops / php-pre-commit

:octocat: Git pre-commit hook designed for PHP projects.
MIT License
14 stars 1 forks source link

Allow to choose which tool to use #9

Closed devdrops closed 8 years ago

devdrops commented 8 years ago

Idea: use boolean variables to define which tool (PHPCS or PHPMD) are available, like:

#1 means enabled, 0 means disabled.
PHPCS_COVERAGE = 1
PHPMD_COVERAGE = 1

So then once one of these tools are enabled, then we should perform the analysis.

devdrops commented 8 years ago

WIP on https://github.com/devdrops/php-pre-commit/tree/phpcs-improvements