Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Experimental project
This is a sandbox project, which contains experimental code for developer use only.
Sorry, I'm no longer maintaining this.
Overview
This is a Git pre-commit hook that, when put in a local repo, will alert you when you are about to commit a dsm()
. I created this for #819900: Create a pre-commit hook(s) that checks for common oopsies.
Features
- If you are about to commit a
dsm()
, it asks you if you would like to proceed. - Otherwise, it's silent.
Requirements
- Git
- PHP's CLI
Known problems
None.
Credits
This was written by Josh The Geek.
Project information
- Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects - Obsolete
Use of this project is deprecated. - Module categories: Developer Tools
- Created by Josh The Geek on , updated