This adds CodeSniff to travis to complain when stuff gets off the style guide. Will need to be changed based on #43. I also updated it to use the git repo instead of downloading from sourceforge. The codesniff only needs to be run on one copy so so I force it on 5.5.
Add phpcs to travis to check that code matches zend style
Hmm, any idea why the first build fails with Fatal error: Class 'Phar' not found in /home/travis/.phpenv/versions/5.2.17/bin/composer.phar on line 13?
Fatal error: Class 'Phar' not found in /home/travis/.phpenv/versions/5.2.17/bin/composer.phar on line 13
It's existing behaviour (it's happening on other builds as well). The probably changed what they have on php5.2 since the travis config was update. They have this warning http://docs.travis-ci.com/user/languages/php/#PHP-installation I could just not do much on 5.2?
Added phpcs to the build (only on 5.6) based off of your diff, as well as fixing some style issues that built up over the last 3 months. Thanks!