-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
82 lines (82 loc) · 2.87 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
{
"name": "poor-plebs/guzzle-retry-after-middleware",
"description": "A guzzle middleware to keep track of the Retry-After HTTP header and fail consecutive requests until this time has passed.",
"type": "library",
"license": "MIT",
"autoload": {
"psr-4": {
"PoorPlebs\\GuzzleRetryAfterMiddleware\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PoorPlebs\\GuzzleRetryAfterMiddleware\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "Petr Levtonov",
"email": "[email protected]"
}
],
"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",
"illuminate/cache": "^9.38.0 || ^10.13.2",
"phpstan/phpstan": "^1.10.16",
"phpunit/phpunit": "^9.5.26 || ^10.2.1",
"roave/security-advisories": "dev-latest"
},
"require": {
"php": "^8.1.0",
"guzzlehttp/guzzle": "^6.5.8 || ^7.4.5",
"guzzlehttp/promises": "^1.0.0",
"nesbot/carbon": "^2.0.0",
"psr/http-message": "^1.0.0 || ^2.0.0",
"psr/simple-cache": "^1.0.0 || ^2.0.0 || ^3.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"
}
}