Wednesday, January 20. 2010PHPMD wednesday... PHPMD 0.2.2, PHPMD Ant Task, PHPMD on GitHubTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Thank you very much for this.
Is it possible to integrate PHPMD (and PHPCPD - copy & paste detection) into phpUnderControl and thus replace the PHPUnit PMD? Cheers, Paul
Hello Paul,
yes you can replace PHPUnit's deprecated log option --log-pmd with PHPMD and PHP-CPD. Therefore you must only add two additional targets to your ant or phing build.xml file. These targets must execute PHPMD and PHP-CPD and write their log files into the same directory as the files generated by PHPUnit. This should solve your problem. Greetings Manuel
Are you able to check the http://phpundercontrol.org/documentation/getting-started.html documentation reflects the correct PHPMD logging requirements?
|
ProjectsFurther stuffCategories |

