Configs for PHPMD and PHPCS, as well as some cleanup.