https://github.com/ninjify/qa
:clap: Quality assurance for your PHP projects
https://github.com/ninjify/qa
codesniffer ninjify php quality-assurance
Last synced: 10 months ago
JSON representation
:clap: Quality assurance for your PHP projects
- Host: GitHub
- URL: https://github.com/ninjify/qa
- Owner: ninjify
- License: mit
- Created: 2016-10-26T12:34:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-01-08T14:13:14.000Z (over 4 years ago)
- Last Synced: 2025-05-07T22:44:46.182Z (about 1 year ago)
- Topics: codesniffer, ninjify, php, quality-assurance
- Language: Shell
- Size: 61.5 KB
- Stars: 8
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README

Website 🚀 contributte.org | Contact 👨🏻💻 f3l1x.io | Twitter 🐦 @contributte
## Usage
To install latest version of `ninjify/qa` use [Composer](https://getcomposer.com).
```
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.
```sh
vendor/bin/codesniffer
vendor/bin/codesniffer
```
```sh
vendor/bin/codefixer
vendor/bin/codefixer
```
### Linter (PHP)
Default folders are: `src`, `app`, `tests`
```sh
vendor/bin/linter
vendor/bin/linter
```
### Executing
```
composer qa
composer qa
composer run qa
composer run-script qa
```
### Composer
```json
{
"scripts": {
"qa": [
"linter src tests",
"codesniffer src tests"
]
}
}
```
## Development
See [how to contribute](https://contributte.org) to this package. This package is currently maintained by these authors.
-----
Consider to [support](https://contributte.org/partners.html) **contributte** development team.
Also thank you for using this package.