Setups code quality checking tools for Drupal project.
Provides set of libraries to easily setup code quality checks based on GrumPHP for Drupal module/theme/profile. Check out this article from Lullabot for more details.
Note: This library is aimed to help contributed/custom Drupal module/theme/profile hosted in individual git repository.
vijaycs85/drupal-quality-checker to composer.json (like here) or just composer require --dev vijaycs85/drupal-quality-checker
grumphp.yml in project's root directory (not Drupal root directory) with vendor/vijaycs85/drupal-quality-checker/grumphp.yml.dist
That's it. Now, all tasks (listed below) run on every git commit.
Note: As part of install, GrumPHP adds
pre-commithook to repository. Existingpre-commitmight get destroyed when install/uninstall.
Long list of additional checks/validators available here.


Implemented in Modal Configuration module.