Use @fabpot's php-cs-fixer tool in PhpStorm, in 2 steps
1 - Install php-cs-fixer globally - 3 available ways: manual / composer / homebrew) : cf. https://github.com/fabpot/PHP-CS-Fixer#usage
2 - Add php-cs-fixer as an external tool in PhpStorm : Open Settings (or "Preferences" on OS X) > External Tools & setup a new tool :
Fill with accurate paths & options:
Program: /my/homeDir/.composer/vendor/bin/php-cs-fixer
Parameters: (by example) --level=symfony --verbose --config=sf23 fix "$FileDir$/$FileName$"
Working directory: $ProjectFileDir$
To setup other php-cs-fixer options, check the one-page manual
BTW, have a look at [Settings/Preferences] > Code Style > PHP : PhpStorm can rearrange your code style with other nice style rules too.
Tested OK in PhpStorm 7 & 8 stable with php-cs-fixer stable.
To add a keyboard shortcut to your PhpStorm external tool, check manual page this (it's damn simple).