Clean up PHPCS rules

This should fix or silence all PHPCS errors for the present. Fixes #5