Netbeans Integration
Last updated on
20 October 2018
To integrate Drupal Code Sniffer into Netbeans you need the following:
- PHP CodeSniffer Netbeans Plugin
- Run
pear config-get php_dirto know the path to your PEAR folder - Put the folder with the PHP_CodeSniffer coding standard inside
PEAR/pear/PHP/CodeSniffer/Standardsfolder - Edit
PEAR/pear/PHP/CodeSniffer.phpand add the extensions to$allowedFileExtensions
this can look like :array( 'php' => 'PHP', 'inc' => 'PHP', 'module' => 'PHP', 'install' => 'PHP', 'test' => 'PHP', 'profile' => 'PHP', 'theme' => 'PHP', 'js' => 'JS', 'css' => 'CSS', );
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion