git hooks to be used with Yii