KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#cli
#claude-code
#codex
#developer-tools
#react
#windows
drupal-quality-checker
★ 51
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
AutoInject
:
Android 通用的组件自动注册、自动初始化解决方案
CBIR_EXPLORE
:
对图像检索技术进行探索
SLE4442-card-manager
:
No description available.
Tencent_Ads_2018
:
No description available.
curryon2018
:
Resources related to CurryOn 2018 Talk
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
drupal-quality-checker
?
Download (.md)
# Drupal Code Quality Checker --- ## Overview Provides set of libraries to easily setup code quality checks based on [GrumPHP](https://github.com/phpro/grumphp) for Drupal module/theme/profile. Check out this [Lullabot article](https://www.lullabot.com/articles/how-enforce-drupal-coding-standards-git) for more details. >*Note:* This library aim to help contributed/custom Drupal module/theme/profile hosted in individual git repository. ## Install 1. Add `vijaycs85/drupal-quality-checker` to `composer.json` (like [here](https://github.com/vijaycs85/modal_config/blob/8.x-1.x/composer.json#L21)) or just `composer require --dev vijaycs85/drupal-quality-checker` 2. Replace `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-commit` hook to repository. Existing `pre-commit` might get [destroyed](https://github.com/phpro/grumphp/issues/416) when install/uninstall. ## Features 1. [PHPCS](https://github.com/squizlabs/PHP_CodeSniffer) with Drupal standard. 1. [PHP Lint](http://www.icosaedro.it/phplint/) 1. [YAML Lint](http://www.yamllint.com/) 1. [Composer](https://github.com/composer/composer) 1. [Composer Normalize](https://github.com/ergebnis/composer-normalize) 1. [JSONLint](https://jsonlint.com/) 1. [PHP Copy/Paste Detector (CPD)](https://github.com/sebastianbergmann/phpcpd) Long list of additional checks/validators available [here](https://github.com/phpro/grumphp/blob/master/doc/tasks.md#tasks-1). ## Sample ### Pass  ### Fail  ## Demo Implemented in [Modal Configuration](https://github.com/vijaycs85/modal_config) module.