jenue/grumphp-drupal-checker

GrumPHP for Drupal projects.

0.19 2020-09-28 14:06 UTC

This package is auto-updated.

Last update: 2025-03-29 00:47:48 UTC


README

Overview

Provides an GrumPHP configuration for your Drupal project.

Installation

  1. Install GrumPHP for Drupal with composer.

    composer require --dev jenue/grumphp-drupal-checker
    
  2. Copy GrumPHP settings file into your project root directory.

    cp vendor/jenue/grumphp-drupal-checker/grumphp.yml.dist grumphp.yml
    

Note : During the installation, GrumPHP ask you to create a conf file, select a random task and validate.

That's it.

When the package is installed, GrumPHP will attach itself to the git hooks of your project and ready to sniff your commits.

Tasks in order

  1. PHPCS
  2. PHPLINT
  3. YAMLLINT
  4. COMPOSER
  5. JSONLINT
  6. PHPSTAN
  7. TWIGCS
  8. DRUPAL CHECK
  9. GIT COMMIT MESSAGE