add pre/post functions for formatting and executing phpcs