Adds Travis.
Fixes phpcs warnings.