承接 miteshmap/drupal-quality-checker 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

miteshmap/drupal-quality-checker

最新稳定版本:1.0.5

Composer 安装命令:

composer create-project miteshmap/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

  1. Add following code to composer.json under extra.drupal-scaffold.allowed-packages section.
     "extra": {
         "drupal-scaffold": {
             "allowed-packages": [
                 "miteshmap/drupal-quality-checker"
             ],
         }
     }
    
  2. composer require "miteshmap/drupal-quality-checker:^1.0"
  3. copy grumphp.yml.dist in project's root directory (not Drupal root directory) with ./grumphp.yml

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 when install/uninstall.

Features

  1. PHPCS with Drupal standard.
  2. PHP Lint
  3. YAML Lint
  4. Composer
  5. Composer Normalize
  6. JSONLint
  7. PHP Copy/Paste Detector (CPD)

Long list of additional checks/validators available here.

统计信息

  • 总下载量: 1.22k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 38
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-12