Skip to content
This repository was archived by the owner on Oct 19, 2020. It is now read-only.

Commit 557d90c

Browse files
committed
Merge branch 'master' of github.com:Webysther/composer-plugin-qa
2 parents 780d4a3 + e31f2fd commit 557d90c

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,36 @@
99
Comprehensive [plugin for composer](https://getcomposer.org/doc/articles/plugins.md#creating-a-plugin)
1010
to execute [PHP QA Tools](http://phpqatools.org) in a uniform and simple way.
1111

12+
## Features
13+
14+
- Automatic check if exists src,app,test and use by default
15+
- Check if binary is in ```vendor/bin``` or globally installed
16+
- Show ```--version``` for all started commands, only few tools show this information
17+
- Total Execution time
18+
- Command executed by the wrapper
19+
20+
## Sample
21+
22+
```bash
23+
$ cd /sample
24+
$ composer qa:cpd
25+
26+
Running Copy/Paste Detector...
27+
phpcpd 2.0.4 by Sebastian Bergmann.
28+
29+
30+
Found 1 exact clones with 654 duplicated lines in 2 files:
31+
32+
- /sample/tests/Folha/Durin/Models/News/NewstextTest.php:73-132
33+
/sample/tests/Folha/Durin/Adapters/Resource/News/NewstextResourceTest.php:59-118
34+
35+
0.08% duplicated lines out of 58771 total lines of code.
36+
37+
Time: 1.31 seconds, Memory: 46.25MB
38+
39+
Command executed `phpcpd app tests --ansi --fuzzy` in 1 seconds
40+
```
41+
1242
## Install
1343

1444
Add to composer.json:

0 commit comments

Comments
 (0)