Tool to fix CodeSniffer issues in WordPress plugin code

Solution:

Have a look at the CodeSniffer. The new version implements a feature to fix violation to a coding standard automatically. But only if the particular standard already support that. For more informations please read the documentation of this feature at https://github.com/squizlabs/PHP_CodeSniffer/wiki/Fixing-Errors-Automatically