Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Git Hooks Drupal Practice

Security covered Under active development

This module helps improve code quality by automatically running checks for staged files before you commit. It also enforces commit message formatting by ensuring they start with a ticket number and are of sufficient length.

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

Drupal 10–11

Ask your assistant about Git Hooks Drupal Practice

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Nov 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.0.0 Stable 10–11 Jan 28, 2025
1.0.x-dev Dev 10–11 Nov 13, 2024