My (outdated) version of Zend Studio will do it. It's likely the newer versions will as well. Granted, it won't just go through every file in a directory and fix them, but you can do it each time you edit a file.
EDIT: it will NOT however, add line breaks, etc. if those are needed.