Sublime Forum

Better PHP code checker with PHP Mess Detector

#1

I forked SublimeLinter plugin and replaced php -l with phpmd.
Now in addition to a syntax checker I have a tool that looks for several potential problems in code:

  • Possible bugs
  • Suboptimal code
  • Overcomplicated expressions
  • Unused parameters, methods, properties

You can read more about PHP Mess Detector here phpmd.org/
My fork lives here github.com/gornostal/SublimeLinter

0 Likes

#2

I was a little rush with this plugin :smile:
There is already one that not only run PHP Mess Detector but PHP_CodeSniffer as well
soulbroken.co.uk/code/sublimephpcs

0 Likes