Skip to content
/ qa Public

👏 Quality assurance for your PHP projects

License

Notifications You must be signed in to change notification settings

ninjify/qa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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