Quality assurance for your PHP projects

Installs: 204 940

Dependents: 223

Suggesters: 0

Security: 0

Stars: 8

Watchers: 4

Forks: 3

Open Issues: 0

Language:Shell

v0.12.1 2021-01-01 14:13 UTC

This package is auto-updated.

Last update: 2021-03-29 14:53:17 UTC


README

68747470733a2f2f62616467656e2e6e65742f6769746875622f636865636b732f6e696e6a6966792f71612f6d61737465723f63616368653d333030 68747470733a2f2f62616467656e2e6e65742f636f766572616c6c732f632f6769746875622f6e696e6a6966792f71613f63616368653d333030 68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f646d2f6e696e6a6966792f7161 68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f6e696e6a6966792f7161

68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f6e696e6a6966792f7161 68747470733a2f2f62616467656e2e6e65742f6769746875622f6c6963656e73652f6e696e6a6966792f7161 68747470733a2f2f62616467656e2e6e65742f62616467652f737570706f72742f6769747465722f6379616e 68747470733a2f2f62616467656e2e6e65742f62616467652f737570706f72742f666f72756d2f79656c6c6f77 68747470733a2f2f62616467656e2e6e65742f62616467652f73706f6e736f722f646f6e6174696f6e732f463936383534

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

Usage

To install latest version of ninjify/qa use Composer.

composer require ninjify/qa

Versions

State Version Branch PHP
dev ^0.13 master >=7.2
stable ^0.12 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.

vendor/bin/codesniffer
vendor/bin/codesniffer <folder1> <folder2>
vendor/bin/codefixer
vendor/bin/codefixer <folder1> <folder2>

Linter (PHP)

Default folders are: src, app, tests

vendor/bin/linter
vendor/bin/linter <folder1> <folder2>

Executing

composer qa
composer qa <folder>
composer run qa
composer run-script qa

Composer

{
  "scripts": {
    "qa": [
      "linter src tests",
      "codesniffer src tests"
    ]
  }
}

Development

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

538058?v=3&s=80

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