ninjify / qa
Quality assurance for your PHP projects
Fund package maintenance!
f3l1x
contributte.org/partners.html
Installs: 435 182
Dependents: 153
Suggesters: 0
Security: 0
Stars: 8
Watchers: 5
Forks: 4
Open Issues: 1
Language:Shell
Requires
- php: >=7.2
- ninjify/coding-standard: ^0.12.0
- php-parallel-lint/php-parallel-lint: ^1.2.0
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.