PHP does have its own built in "lint" (like the one we used to use every day with C programs).

$ php -l my.module
No syntax errors detected in lcph.module

See http://www.snakelegs.org/2006/05/18/lint-php/ for article.

Victor Kane
http://awebfactory.com.ar
http://projectflowandtracker.com



On Mon, Mar 23, 2009 at 7:02 AM, Dipen <dipench@gmail.com> wrote:
Hi list, 
 
 After searching google for 1 hr I am still unable to find an equivalent for java checkstyle for PHP which would play nice with eclipse. I could find this http://developer.spikesource.com/wiki/index.php?title=Projects:phpcheckstyleNews and one abandoned project with no releases on sourceforge. Does anyone know of checkstyle eclipse plugin for PHP (doesnt need to be all featureful). Also how do you manage this kind of task? Checkstyle eclipse plugin for java - http://eclipse-cs.sourceforge.net/ 

Thanks 

Dipen