try this plugin: http://www.whitewashing.de/blog/articles/119
This feature would be a game changer for me. I bounce between IDE's because the plugins that maintain php tools integrations such as codesniffer/phpdepend are generally unstable and end up not being maintained. The codesniffer plugin mentioned in the comments does not appear to work with 7.0.
I once used the whitewashing.de plugin. Today, whitewashing.de's site seems down.
Frankly, phpMDnb is a better plugin:
A further feature request, is for a formatting theme, that matches, say, the PEAR style. All this is lost, when you reformat your code, unless you spend time customizing Netbeans.
Even nicer would be, if Netbeans could syncronize on ruleset.xml.
You started to implementing this feature into NetBeans? I don't think so. Reverting status.
I have been trying Netbeans 7.4 which CodeSniffer support. I have two things that bug me a bit about the current state:
- check is not on-the-fly
CodeSniffer should be integrated into "Hints" (or similar) so that style violations are detected on the fly and no manual inspection is necessary. I think this would help a lot to make Netbeans up to par with other IDEs
- it should be possible to specify not just a global Codesniffer standard but also an .xml file directly (--standard cli option)
If I can help with anything here, please let me know...
@lordnelson: Please, report new separate issues (one issue for one problem).