Drupal is a registered trademark of Dries Buytaert

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..

Activity

Total releases
1
First release
Jan 2025
Latest release
1 year ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.0 Stable Jan 28, 2025