Update php/pre-commit

add check yaml parse