elbgoods/ci-test-tools 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

elbgoods/ci-test-tools

最新稳定版本:2.0.0

Composer 安装命令:

composer require elbgoods/ci-test-tools

包简介

CI Test Tools used by Elbgoods GmbH

README 文档

README

Packagist PHP from Packagist Packagist Version GitHub Workflow Status

Installation

composer require --dev bamarni/composer-bin-plugin elbgoods/ci-test-tools

PHP

PHP-CS-FIXER

Installation

composer bin php-cs require --dev friendsofphp/php-cs-fixer

Usage

vendor/bin/php-cs-test
vendor/bin/php-cs-fix

Configuration

If you want to adjust the default configuration you can use your composer.json[extra] section.

{
  "extra": {
    "php-cs-fixer": {
      "finder": {
        "include": [],
        "exclude": []
      }
    } 
  }
}

TLint

Installation

composer bin php-tlint require --dev tightenco/tlint

Usage

vendor/bin/php-tlint-test

Configuration

You have to create a tlint.json file on your project root level with the following, and only, content.

{
    "preset": "laravel",
    "disabled": [
        "NoInlineVarDocs",
        "NoParensEmptyInstantiations"
    ]
}

PHPMD

Installation

composer bin php-md require --dev phpmd/phpmd

Usage

vendor/bin/php-md-test

PHP Insights

Installation

composer bin php-insights require --dev nunomaduro/phpinsights

Usage

vendor/bin/php-insights-test

PHPMND

Installation

composer bin php-mn require --dev povils/phpmnd

Usage

vendor/bin/php-mn-test

Larastan

Installation

composer bin php-stan require --dev nunomaduro/larastan

Usage

vendor/bin/php-stan-test

Configuration

You have to create a phpstan.neon.dist file on your project root level with the following content.

includes:
    - ./vendor-bin/php-stan/vendor/nunomaduro/larastan/extension.neon
    - ./vendor/elbgoods/ci-test-tools/configs/phpstan.neon.dist

parameters:
    paths:
        - ./app
        - ./config
        - ./routes

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 5
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-01-22