-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
78 lines (78 loc) · 2.76 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
{
"name": "poor-plebs/guzzle-connect-retry-decider",
"description": "A guzzle retry middleware decider that re-attempts requests whenever a connection fails to be established. Always retries up to x times for GET requests and under specific conditions also for other HTTP methods.",
"type": "library",
"license": "MIT",
"autoload": {
"psr-4": {
"PoorPlebs\\GuzzleConnectRetryDecider\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PoorPlebs\\GuzzleConnectRetryDecider\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "Petr Levtonov",
"email": "petr@levtonov.com"
}
],
"archive": {
"exclude": [
"/.editorconfig",
"/.git",
"/.gitattributes",
"/.github",
"/.gitignore",
"/.php-cs-fixer.dist.php",
"/cache",
"/CHANGELOG.md",
"/composer.lock",
"/phpstan.neon.dist",
"/phpunit.xml.dist",
"/tests"
]
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"minimum-stability": "stable",
"prefer-stable": true,
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.17.0",
"phpstan/phpstan": "^1.10.16",
"phpunit/phpunit": "^10.2.1",
"roave/security-advisories": "dev-latest"
},
"require": {
"php": "^8.1.0",
"guzzlehttp/guzzle": "^6.5.8 || ^7.4.5",
"psr/http-message": "^1.0.0 || ^2.0.0"
},
"scripts": {
"all": [
"composer lint",
"composer csf",
"composer static",
"composer test"
],
"ci": [
"composer lint",
"composer cs",
"composer static",
"composer coverage"
],
"lint": "XDEBUG_MODE=off find . -not -path './vendor/*' -type f -name '*.php' -print0 | xargs -0 -n1 -P$(nproc) php -l -n | (! grep -v \"No syntax errors detected\" )",
"cs": "XDEBUG_MODE=off PHP_CS_FIXER_IGNORE_ENV=true vendor/bin/php-cs-fixer fix --dry-run --verbose --ansi",
"csf": "XDEBUG_MODE=off PHP_CS_FIXER_IGNORE_ENV=true vendor/bin/php-cs-fixer fix --verbose --ansi",
"static": "XDEBUG_MODE=off vendor/bin/phpstan --ansi --no-progress --memory-limit=4G analyse",
"test": "XDEBUG_MODE=off vendor/bin/phpunit --no-coverage",
"coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text",
"coverage-html": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --coverage-html=coverage",
"coverage-clover": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --coverage-clover=clover.xml"
}
}