jjsanz/drupal-quality-checker
最新稳定版本:1.6.0
Composer 安装命令:
composer create-project jjsanz/drupal-quality-checker
包简介
Fork of vijaycs85/drupal-quality-checker. Setups code quality checking tools for Drupal project.
README 文档
README
Overview
Provides set of libraries to easily setup code quality checks based on GrumPHP for Drupal module/theme/profile. Check out this Lullabot article for more details.
Note: This library aim to help contributed/custom Drupal module/theme/profile hosted in individual git repository.
Install
- Add
vijaycs85/drupal-quality-checkertocomposer.json(like here) or justcomposer require --dev vijaycs85/drupal-quality-checker - Replace
grumphp.ymlin project's root directory (not Drupal root directory) withvendor/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.
Features
- PHPCS with Drupal standard.
- PHP Lint
- YAML Lint
- Composer
- Composer Normalize
- JSONLint
- PHP Copy/Paste Detector (CPD)
Long list of additional checks/validators available here.
Sample
Pass
Fail
Demo
Implemented in Modal Configuration module.
统计信息
- 总下载量: 6.46k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-11-09

