承接 kunstmaan/code-quality-config 相关项目开发

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

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

kunstmaan/code-quality-config

Composer 安装命令:

composer require kunstmaan/code-quality-config

包简介

The default code quality configuration files for Kunstmaan projects.

README 文档

README

The default code quality configuration files for Kunstmaan projects.

Installation

$ composer require --dev kunstmaan/code-quality-config

Usage

During the installation the package will copy the code quality config files.

Php-cs-fixer

The package will generate a default config file which works for the majority of our projects.

.php_cs

<?php
require 'vendor/autoload.php';

return Kunstmaan\CodeQuality\PhpCsFixer\Config::fromFolders('src');

You can also override rules per-project without overriding the core rules like this:

<?php
require 'vendor/autoload.php';

return Kunstmaan\CodeQuality\PhpCsFixer\Config::fromFolders(['src'])->mergeRules([
   'php_unit_strict' => false,
]);

Grumphp

grumphp.yml

imports:
    - { resource: vendor/kunstmaan/code-quality-config/base-grumphp.yml }

parameters:
    convention.git_commit_message_matchers: { 'Must contain JIRA issue number': '/(^JIRA-\d+:|^\[no\-issue\]) [A-Z].+/' } #TODO: replace jira key or leave this parameter empty ([])

By default we setup the commit message matcher so it must contain an jira issue number. After the install you should update this regex to your project key. Or replace the parameter with an empty array ([]) to disable this check.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-05-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固