Fix CodeSniffer violations

Remove whitespace from end of lines to reduce the number of CodeSniffer
violations.