项目作者: ninjify

项目描述 :
:clap: Quality assurance for your PHP projects
高级语言: Shell
项目地址: git://github.com/ninjify/qa.git
创建时间: 2016-10-26T12:34:59Z
项目社区:https://github.com/ninjify/qa

开源协议:MIT License

下载















Website 🚀 contributte.org | Contact 👨🏻‍💻 f3l1x.io | Twitter 🐦 @contributte

Usage

To install latest version of ninjify/qa use Composer.

  1. composer require ninjify/qa

Versions

State Version Branch PHP
dev ^0.14 master >=7.2
stable ^0.13 master >=7.2

Documentation

CodeSniffer & CodeFixer

Default folders are: src, app, tests
Default extensions are: php, phtml, phpt
Default excluded folders are: */temp, */tmp

By default is used ruleset.xml in library/project root of your project. Otherwise, strict default one is used.

  1. vendor/bin/codesniffer
  2. vendor/bin/codesniffer <folder1> <folder2>
  1. vendor/bin/codefixer
  2. vendor/bin/codefixer <folder1> <folder2>

Linter (PHP)

Default folders are: src, app, tests

  1. vendor/bin/linter
  2. vendor/bin/linter <folder1> <folder2>

Executing

  1. composer qa
  2. composer qa <folder>
  3. composer run qa
  4. composer run-script qa

Composer

  1. {
  2. "scripts": {
  3. "qa": [
  4. "linter src tests",
  5. "codesniffer src tests"
  6. ]
  7. }
  8. }

Development

See how to contribute to this package. This package is currently maintained by these authors.




Consider to support contributte development team.
Also thank you for using this package.