Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP Mess Detector for Eclipse

I have the PTI Eclipse plugin installed.

There is a possibility to change PDepend, CodeSniffer and UnitTest

When I try right-clicking on any file I have a Mess Detector option as well but nothing happens when I click it. And after searching all configuration options, I and can't find any settings for PHPMD.

Does anyone know how to solve it?

like image 753
Ilia Shakitko Avatar asked Feb 05 '13 10:02

Ilia Shakitko


1 Answers

Old question but since there still seems to be interest in it... I just installed the PTI plugin and there was no mention of PHPMD so I wonder where you get the "Mess Detection" menu item from?

For me actually nothing of PTI works with Eclipse Kepler SR2. Whatever I try just nothing happens.

I'd recommend you MakeGood for running PHPUnit tests in Eclipse and setting up Jenkins (including PHPMD) for your project, it takes a bit time to set up but once it is running it is just great: Template for Jenkins Jobs for PHP Projects

like image 161
Torsten Römer Avatar answered Nov 11 '22 17:11

Torsten Römer