Update build scripts to use phpunit/phpcs as a library.