added pre-commit hook for checking composer.json file