Updated code sniffer & Fixed/Improved pre-commit hook