jenue / grumphp-drupal-checker
GrumPHP for Drupal projects.
0.19
2020-09-28 14:06 UTC
Requires
- composer/composer: ~1.0
- dealerdirect/phpcodesniffer-composer-installer: *
- drupal/coder: ^8.2.12
- mglaman/drupal-check: ^1.1
- php-parallel-lint/php-parallel-lint: ^1.0
- phpro/grumphp: ^0.17
README
Overview
Provides an GrumPHP configuration for your Drupal project.
Installation
Install GrumPHP for Drupal with composer.
composer require --dev jenue/grumphp-drupal-checker
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.