Benjamin Eberlei has posted about some work he's done on a plugin for the NetBeans IDE to integrate support for the PHP_CodeSniffer PEAR package's abilities.
Previously the plugin used an unnecessary API which restricted the use to Netbeans 6.7.0 only. This API was removed so that the plugin should now work with all Netbeans Versions >= 6.7.0. Additionally when working the previous version would scan every PHP script on a file per file basis when the all projects or main projects filters were activated.
You can find this latest update to the plugin on his github repository. You can find out more about the PHP_CodeSniffer PEAR package on its PEAR page.