im sorry its very very newbie question. But I dont know where to find pmd rules for php.
I am properly able to run
pmd check -R rulesets/java/quickstart.xml -f text --dir MyProject
But not for php
pmd check -R rulesets/php/quickstart.xml -f text --dir MyProjectPhp
I understand by reading the jar file that ruleset/java is an Internal ruleset, but where is the php ruleset, it does exist open source? Is it the correct usage syntax, or will I need to use -l php somehow?
Thank you for your patience with a newbie.
I tried pmd check -R rulesets/php/quickstart.xml -f text –dir MyProjectPhp and expected it existed as internal ruleset or a directory somewhere.
T. Win is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.