You can run fix command with this plugin.
https://github.com/FriendsOfPHP/PHP-CS-Fixer
- NetBeans 8.0+
- fix
- fix --dry-run
- self-update
Tools > Options > PHP > PHP CS Fixer
- set PHP CS Fixer path
- set fix command options
project properties > PHP CS Fixer
- If you would like to use settings each projects, please, check
use project settings
- Right-click
- Project
- Directory
- File
- Editor
- PHP CS Fixer
- fix
- fix --dry-run
- self-update
http://plugins.netbeans.org/plugin/49042/php-cs-fixer
- add run on save feature (not yet). This feature has a problem (#2).
Common Development and Distribution License (CDDL) v1.0 and GNU General Public License (GPL) v2