travis fixes

Travis failed due to PHP 5.3 compat issue and broken phpcs sniff naming.