#2 What to enter in PHPMD "ruleset filenames"

v1.0_(example)
open
nobody
None
1
2013-08-23
2013-08-23
No

I've entered the path to my ruleset, but phpmd in netbeans isn't using the rules in this file.

Discussion

  • Jens Radtke

    Jens Radtke - 2013-08-23

    You can see what arguments are passed to phpmd. Please open "View->IDE Log" in the new output window you should be able to locate something like "org.jmgl.php.messdetector.BatchInterface" execute ..phpmd ARGS, please verify that all arguments are ok, you may check it by your own on cmd.
    By default the ruleset should only contain the name, the rules must be saved unter pear-dir\pear\PHP\PMD\Rule - as far as I remember...

     
  • James Hudson

    James Hudson - 2013-08-23

    Ahh. I think it was working actually. PMD command & args was correct, and gave the correct result.

    I think I was seeing checkstyle output, which I thought I'd disabled. Looks like the "show messages from PHPCheckstyle" checkbox wasn't saving unchecked.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks