git_hooks_drupal_practice
Security covered
The Git Hooks Drupal Practice module is a helper module to check the code quality before pushing a commit to a project.
Features
The Git Hooks Drupal Practice module is a helper module to set up PHPCS and
Drupal Rector in a Drupal project and check staged files before committing.
The module also sets up a Git commit-msg hook to check the commit message
format making sure it starts with a ticket number (e.g., ABC-123:) and is at
least 10 characters long after the colon.
The primary use case for this module is checking the code quality before
committing.
Additional Requirements
This module doesn't require any configuration. It will create git hooks in the .git/hooks directory of the project root..