Refactor previous PR
add PHP 5.5 to travis-ci config