Friday, June 29, 2018

How to configure PHPStorm to use PHP-CS-Fixer

Program: /usr/local/bin/php-cs-fixer
Arguments: fix $ProjectFileDir$/src --rules=@Symfony,line_ending,full_opening_tag,indentation_type --verbose --show-progress=dots
Working Directory: $ProjectFileDir$





Keymap


Click or search for Keymap in settings. Then in the keymap window find External Tools and then again External Tools and Then whatever you named your external tool we just configured. Double click your external tool or the green pencil at the top and select Add Keyboard Shortcut from the list. Then type a key combo (I use Alt+F) and hit OK, and then, hit OK again on settings.

No comments:

Post a Comment

How to revert comments Youtube layout?

#see video for details  https://www.youtube.com/watch?v=J0L_nYtNlqs #uBlock Origin  https://chrome.google.com/webstore/detail/ublock-o...