Update php-syntax-check.hook

implemented unit tests and return values to stop commits on failed tests