Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Git Hooks Drupal Practice

Security covered Drupal 10–11
View on drupal.org

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

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 Release date
1.0.0 Stable 10–11 Jan 28, 2025
1.0.x-dev Dev 10–11 Nov 13, 2024