Fix CodeSniffer violations

Remove whitespace from end of lines to reduce the number of CodeSniffer
violations.
Merge pull request #306 from mperry2/whitespace

Fix CodeSniffer violations