You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 19, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+41-3
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,49 @@
8
8
9
9
Comprehensive [plugin for composer](https://getcomposer.org/doc/articles/plugins.md#creating-a-plugin)
10
10
to execute [PHP QA Tools](http://phpqatools.org) in a uniform and simple way.
11
+
12
+
## Install
11
13
12
-
For others plugins for composer[see](https://packagist.org/search/?q=type=composer-plugin).
14
+
Add to composer.json:
13
15
14
-
PHP Quality Assurance Tools
15
-
==========
16
+
```json
17
+
"require-dev": {
18
+
"webysther/composer-plugin-qa": "~1.0",
19
+
"webysther/composer-meta-qa": "~1.0"
20
+
}
21
+
```
22
+
23
+
List the options
24
+
25
+
```bash
26
+
$ composer list
27
+
qa
28
+
qa:all Run all tools
29
+
qa:code-coverage Code Coverage
30
+
qa:cc Code Coverage
31
+
qa:code-beautifier-fixer Code Beautifier and Fixer
32
+
qa:cbf Code Beautifier and Fixer
33
+
qa:copy-paste-detector Copy/Paste Detector
34
+
qa:cpd Copy/Paste Detector
35
+
qa:code-sniffer Code Sniffer
36
+
qa:cs Code Sniffer
37
+
qa:php-cs-fixer PHP Code Sniffer Fixer
38
+
qa:csf PHP Code Sniffer Fixer
39
+
qa:line-of-code Line of Code
40
+
qa:loc Line of Code
41
+
qa:mess-detector Mess Detector
42
+
qa:md Mess Detector
43
+
qa:php-metrics PHP Metrics
44
+
qa:pm PHP Metrics
45
+
qa:security-checker SecurityChecker
46
+
qa:sc SecurityChecker
47
+
qa:test Tests
48
+
49
+
```
50
+
51
+
All plugins (except ```qa:test```) have the short version, example,```qa:sc``` is short version for ```qa:security-checker```.
52
+
53
+
## PHP Quality Assurance Tools
16
54
17
55
This is a composer meta package for installing PHP Quality Assurance Tools with only one dependency, based on [h4cc/phpqatools](https://github.com/h4cc/phpqatools).
0 commit comments