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

# Usage

To install latest version of ninjify/qa use Composer (opens new window).

composer require ninjify/qa
1

# 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.

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

# Linter (PHP)

Default folders are: src, app, tests

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

# Executing

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

# Composer

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

# Development

See how to contribute (opens new window) to this package. This package is currently maintained by these authors.


Consider to support (opens new window) contributte development team. Also thank you for using this package.