-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
69 lines (69 loc) · 2.47 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
{
"name": "slepic/guzzle-http-observing-middleware",
"description": "Adapter of slepic/http-transfer ObserverInterface to guzzlehttp/guzzle middleware.",
"type": "library",
"require": {
"php": ">=5.6",
"guzzlehttp/guzzle": "^6.3 || ^7.0",
"slepic/http-transfer": "^0.1 || ^1.0"
},
"autoload": {
"psr-4": {
"Slepic\\Guzzle\\Http\\ObservingMiddleware\\": "src"
}
},
"license": "BSD-3-Clause",
"authors": [
{
"name": "slepic",
"email": "[email protected]"
}
],
"provide": {
"slepic/http-transfer-observer-consumer": "*"
},
"suggest": {
"slepic/http-transfer-observer-implementation": "See existing observers you can plug into this middleware."
},
"minimum-stability": "dev",
"prefer-stable": true,
"require-dev": {
"phpunit/phpunit": "~5.0",
"friendsofphp/php-cs-fixer": "^2.14"
},
"scripts": {
"check-cs": [
"vendor/bin/php-cs-fixer fix -vvv --dry-run --ansi --config php-cs-fixer/config.php src",
"vendor/bin/php-cs-fixer fix -vvv --dry-run --ansi --config php-cs-fixer/config.php tests"
],
"check-staged-cs": [
"vendor/bin/php-cs-fixer fix -vvv --dry-run --ansi --config php-cs-fixer/config.php"
],
"diff-cs": [
"vendor/bin/php-cs-fixer fix -vvv --dry-run --diff --ansi --config php-cs-fixer/config.php src",
"vendor/bin/php-cs-fixer fix -vvv --dry-run --diff --ansi --config php-cs-fixer/config.php tests"
],
"diff-staged-cs": [
"vendor/bin/php-cs-fixer fix -vvv --dry-run --diff --ansi --config php-cs-fixer/config.php"
],
"fix-cs": [
"vendor/bin/php-cs-fixer fix -vvv --ansi --config php-cs-fixer/config.php src",
"vendor/bin/php-cs-fixer fix -vvv --ansi --config php-cs-fixer/config.php tests"
],
"fix-json": [
"mv composer.json composer.json.bck",
"cat composer.json.bck | python -mjson.tool > composer.json",
"diff composer.json.bck composer.json -u && rm composer.json.bck"
],
"fix-staged-cs": [
"vendor/bin/php-cs-fixer fix -vvv --ansi --config php-cs-fixer/config.php"
],
"pre-commit": [
"composer check-staged-cs",
"composer test"
],
"test": [
"vendor/bin/phpunit --colors=always"
]
}
}