Menu

[r225]: / wiki / UsingWithNetBeans.wiki  Maximize  Restore  History

Download this file

20 lines (10 with data), 747 Bytes

= Using PHPCheckstyle with [http://netbeans.org/ Netbeans] =

Use the [https://sourceforge.net/projects/phpmdnb/ 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.

http://phpcheckstyle.googlecode.com/svn/wiki/images/netbeans_plugin_config.PNG


You should them be able to use the "check style" contextual menu on any PHP file.
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.