Using PHPStorm code formatter from the command line

Hi Group,

Is there a way to reformat a PHP code base using PHPStorm code formatter and settings from the command line ?

We'd like to have a post commit hook in SVN to format the code at check-in time, any idea if this is feasable

?

0

No, but you If you commit to any source control from the IDE there's a "Format source" checkbox in commit dialog.

0
Avatar
Permanently deleted user

Hi Alexey,

Thanks for the response, however I don't such such option in the commit

dialog as per screenshot

Capture d’écran 2011-06-21 à 15.34.28.png

0

Sorry, it looks like we did not packaged these into PhpStorm..

I've filed a bug: http://youtrack.jetbrains.net/issue/WI-6771

0
Avatar
Permanently deleted user

can we make this happen please? I need it badly to do a git pre-commit hook and need it to work from cli

0

请先登录再写评论。