-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
69 lines (69 loc) · 2.18 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": "php-service-bus/http-client",
"description": "Abstraction over Http client implementations",
"type": "library",
"keywords": [
"async-php",
"command-bus",
"messaging"
],
"authors": [
{
"name": "Masiukevich Maksim",
"email": "[email protected]",
"homepage": "https://github.com/mmasiukevich",
"role": "Developer"
}
],
"license": "MIT",
"autoload": {
"psr-4": {
"ServiceBus\\HttpClient\\": "src/"
},
"files": [
"src/Artax/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"ServiceBus\\HttpClient\\Tests\\": "tests/",
"ServiceBus\\Common\\Tests\\": "vendor/php-service-bus/common/tests/"
},
"files": [
"src/Artax/functions.php"
]
},
"require": {
"php": ">=8.1",
"php-service-bus/common": "v5.1.*",
"amphp/file": "v2.0.*",
"amphp/parallel": "v1.4.*",
"guzzlehttp/psr7": "v2.1.*",
"amphp/http-client": "v4.6.*",
"psr/log": "v1.1.*"
},
"require-dev": {
"php-service-bus/code-style-config": "v5.1.*",
"phpunit/phpunit": "v9.5.*",
"vimeo/psalm": "v4.22.*",
"phpstan/phpstan": "v1.5.*",
"boesing/psalm-plugin-stringf": "v1.1.*"
},
"prefer-stable": true,
"minimum-stability": "stable",
"scripts": {
"psalm": "rm -rf ~/.cache/psalm/ && ./vendor/bin/psalm --config=psalm.xml",
"phpstan": "./vendor/bin/phpstan analyse src --level 9",
"tests": "./vendor/bin/phpunit --configuration phpunit.xml --verbose --debug",
"coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --configuration phpunit.xml --coverage-html ./coverage --verbose --debug",
"cs-check": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run",
"cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes",
"pre-commit": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes && ./vendor/bin/psalm --config=psalm.xml && ./vendor/bin/phpstan analyse src --level 9 && ./vendor/bin/phpunit --configuration phpunit.xml --verbose"
},
"config": {
"optimize-autoloader": true,
"allow-plugins": {
"composer/package-versions-deprecated": true
}
}
}