How to use CodeSniffer in Netbeans 8.1

JoniJnm picture JoniJnm · Dec 1, 2015 · Viewed 10.2k times · Source

I have installed Netbeans 8.1 and Xampp for Windows with PHP 5.6.

Netbeans 8.1 has the CodeSniffer installed by default. Xampp too (pear). And Netbeans detects the "standars":

CodeSniffer in Netbeans 8.1

But now, I don't know how to run CodeSniffer in my php files. There is no button, neither a menu.

How can I run it? In other versions of Netbeans there was an "Eye button" to run it.

Answer

JoniJnm picture JoniJnm · Dec 1, 2015

The "button" is in the menu Source > Inspect...

http://forums.netbeans.org/viewtopic.php?t=64901