I use tabs for indentation but the shop I work for uses four spaces, two spaces and tabs inconsistently (but consistently within each file) Is there a way to get phpstorm to indent per the existing code?
Nope. Currently PhpStorm supports single code style for the whole project.
You may be interested in these tickets (to vote/watch/etc):
.editorconfig
files)