I really love phpmd to ensure a minimum level of code quality in our PHP projects. Now I like to add a rule to dectect the use of superglobals. But I do not want to have the whole controversial ruleset included. I tried the following line (phpmd installed with composer):
vendor/bin/phpmd src/ text codesize,design,naming,unusedcode,Superglobals
But the output is the following:
Cannot find specified rule-set "Superglobals".
Does anyone knows how to add a single rule in phpmd?