File tree Expand file tree Collapse file tree 3 files changed +1826
-3
lines changed Expand file tree Collapse file tree 3 files changed +1826
-3
lines changed Original file line number Diff line number Diff line change 15
15
"php" : " ^7.0 || ^5.5" ,
16
16
"psr/http-message" : " ^1.0"
17
17
},
18
+ "require-dev" : {
19
+ "humbug/humbug" : " 1.0.0-alpha2" ,
20
+ "phpunit/phpunit" : " ^5.5 || ^4.8"
21
+ },
18
22
"autoload" : {
19
23
"psr-4" : {
20
24
"ApiClients\\ Tools\\ Psr7\\ Oauth1\\ " : " src/"
30
34
"platform" : {
31
35
"php" : " 5.5.9"
32
36
}
37
+ },
38
+ "scripts" : {
39
+ "ensure-installed" : " composer install --ansi -n -q" ,
40
+ "cs" : [
41
+ " @ensure-installed" ,
42
+ " phpcs --standard=PSR2 src/"
43
+ ],
44
+ "unit" : [
45
+ " @ensure-installed" ,
46
+ " phpunit --colors=always -c phpunit.xml.dist --coverage-text --coverage-html covHtml"
47
+ ],
48
+ "mutation" : [
49
+ " @ensure-installed" ,
50
+ " if [ `php -m | grep xdebug | wc -l` -gt 0 ]; then humbug --ansi --incremental; fi"
51
+ ],
52
+ "qa-all" : [
53
+ " @cs" ,
54
+ " @unit" ,
55
+ " @mutation"
56
+ ],
57
+ "qa-windows" : [
58
+ " @cs" ,
59
+ " @unit"
60
+ ],
61
+ "qa-ci" : [
62
+ " @qa-all"
63
+ ],
64
+ "qa-ci-windows" : [
65
+ " @qa-windows"
66
+ ],
67
+ "qa-contrib" : [
68
+ " @qa-all"
69
+ ],
70
+ "ci-coverage" : [
71
+ " if [ -f ./build/logs/clover.xml ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover ./build/logs/clover.xml; fi"
72
+ ]
33
73
}
34
74
}
You can’t perform that action at this time.
0 commit comments