Menu

UsingWithNetBeans

Anonymous

Using PHPCheckstyle with Netbeans

Use the phpMD / PHP CodeSniffer Netbeans Plugin (see https://sourceforge.net/projects/phpmdnb/).

Install the Plugin

Use NetBeans plugin manager to install the plugin.

Configure the plugin

The "php cli file" should be already detected, if not set the path to your php installation file.

Set the "PHPCheckstyle run file" value to the "run.php" file in your PHPCheckstyle installation directory.

Set the "config" value to the name of the configuration file used.

You should them be able to use the "check style" contextual menu on any PHP file.


Related

Wiki: Documentation

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.