Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Using PHPCheckstyle with Netbeans

tchule edited this page Jan 6, 2017 · 1 revision

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.

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /