Update travis build

- this will make the travis tests pass again with the login => username modification.
- also fix the php-cs errors.

An improvment might be to also be "pear free", let me know if it's worth it.