#!/bin/bash exec < /dev/tty phpunit rc=$? if [[ $rc != 0 ]] ; then echo -n "It looks like some of your tests failed. " exit $rc; fi phpcs -n --standard=PSR2 module/ rc=$? if [[ $rc != 0 ]] ; then echo -n "It looks like you made some code style violations " exit $rc; fi exit $rc;