Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 914 Bytes

README.md

File metadata and controls

45 lines (34 loc) · 914 Bytes

NetBeans PHP CS Fixer Plugin

You can run fix command with this plugin.

PHP CS Fixer

https://github.com/FriendsOfPHP/PHP-CS-Fixer

Environment

  • NetBeans 8.0+

Available Commands

  • fix
  • fix --dry-run
  • self-update

Settings

Global

Tools > Options > PHP > PHP CS Fixer

  • set PHP CS Fixer path
  • set fix command options

Project

project properties > PHP CS Fixer

  • If you would like to use settings each projects, please, check use project settings

Usage

  1. Right-click
    • Project
    • Directory
    • File
    • Editor
  2. PHP CS Fixer
    • fix
    • fix --dry-run
    • self-update

Download

http://plugins.netbeans.org/plugin/49042/php-cs-fixer

TODO

  • add run on save feature (not yet). This feature has a problem (#2).

License

Common Development and Distribution License (CDDL) v1.0 and GNU General Public License (GPL) v2