coding standards according to new sniffer rules
prevent rtrim to remove whitespace from test
Merge pull request #1492 from dereuromark/master-phpcs

coding standards according to new sniffer rules