Quality assurance for your PHP projects

Installs: 435 961

Dependents: 151

Suggesters: 0

Security: 0

Stars: 8

Watchers: 5

Forks: 4

Open Issues: 1

Language:Shell

v0.13.0 2022-01-08 13:15 UTC

This package is auto-updated.

Last update: 2024-12-08 20:56:23 UTC


README

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

Usage

To install latest version of ninjify/qa use Composer.

composer require ninjify/qa

Versions

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.

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