drupal-pre-commit
drupal-pre-commit copied to clipboard
A Drupal pre-commit hook to filter php, js, and css syntax errors. This script also checks the file(s) to make sure that the Drupal coding standard is being followed.
If you modify an XML file, it seems like the pre-commit hook still tries to validate it as PHP rather than excluding it. In a very unscientific test, I tried...
Hello, Why not use phpmd to check if variable is unused..etc ?
I'd like to only check staged files (ones that are actively being committed) instead of all files that show up using `git status`. Is the prefered method for this to...