Added phpcs.xml and fixed some minor formatting issues accordingly