I have the PTI Eclipse plugin installed.
There is a possibility to change PDepend
, CodeSniffer
and UnitTest
When I try rig
When PHPMD runs, it first searches for a default PHP executable which must exist, and this is not set in "PHP Tools" but in "PHP":
Window > Preferences > PHP > PHP Executables > (choose one) > [SET DEFAULT]
But if you had not done this, you would have gotten an error.
At this point PHPMD runs, and places its output in the PHPMD view (not in the Console view), which is usually displayed at the bottom. If it does not appear at all, it might have been closed or ignored. So:
Window > Show View > PHP Tools (Others?) > PHPMD
Another thing that may happen is that PHPMD detects nothing (the view appears but it is empty). In that case you can check the Console view to see what happened. Otherwise, you could try and modify the phpmd.php script which is run by PTI so that it logs what it's doing (you might for example wrap the main routine in a try/catch), either to stdout or by opening a temporary file somewhere on your system.