-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
111 lines (111 loc) · 2.7 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "api-clients/test-utilities",
"description": "Test utilities for api-clients packages",
"license": "MIT",
"authors": [
{
"name": "Cees-Jan Kiewiet",
"email": "ceesjank@gmail.com"
}
],
"require": {
"php": "^7.2",
"api-clients/cs-fixer-config": "^1.1.1",
"clue/block-react": "^1.3",
"composer/composer": "^1.8",
"friendsofphp/php-cs-fixer": "^2.13",
"infection/infection": "^0.11.4",
"jakub-onderka/php-console-highlighter": "^0.4",
"jakub-onderka/php-parallel-lint": "^1.0.0",
"localheinz/composer-normalize": "^1.0.0",
"phpunit/phpunit": "^7.5"
},
"require-dev": {},
"config": {
"platform": {
"php": "7.2"
},
"sort-packages": true
},
"autoload": {
"psr-4": {
"ApiClients\\Tools\\TestUtilities\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ApiClients\\Tests\\Tools\\TestUtilities\\": "tests/"
},
"files": [
"tests/bootstrap.php"
]
},
"scripts": {
"post-install-cmd": [
"composer normalize"
],
"post-update-cmd": [
"composer normalize"
],
"ci-coverage": [
"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"
],
"cs": [
"@ensure-installed",
"php-cs-fixer fix --config=.php_cs --ansi --dry-run --diff --verbose --allow-risky=yes --show-progress=estimating"
],
"cs-fix": [
"@ensure-installed",
"php-cs-fixer fix --config=.php_cs --ansi --verbose --allow-risky=yes --show-progress=estimating"
],
"ensure-installed": "composer install --ansi -n -q",
"infection": [
"@ensure-installed",
"infection --ansi --threads=4"
],
"lint-php": [
"@ensure-installed",
"parallel-lint --exclude vendor ."
],
"qa-all": [
"composer validate --ansi",
"composer normalize --ansi",
"@lint-php",
"@cs",
"@unit"
],
"qa-all-extended": [
"composer validate --ansi",
"composer normalize --ansi",
"@lint-php",
"@cs",
"@unit-coverage",
"@infection"
],
"qa-ci": [
"@unit"
],
"qa-ci-extended": [
"@qa-all-extended"
],
"qa-ci-windows": [
"@qa-windows"
],
"qa-contrib": [
"@qa-all"
],
"qa-windows": [
"@lint-php",
"@cs",
"@unit"
],
"unit": [
"@ensure-installed",
"phpunit --colors=always -c phpunit.xml.dist"
],
"unit-coverage": [
"@ensure-installed",
"phpunit --colors=always -c phpunit.xml.dist --coverage-text --coverage-html covHtml --coverage-clover ./build/logs/clover.xml"
]
}
}