extract hook for multiple scripts
add php-lint on pre-commit