-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
70 lines (70 loc) · 2.35 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
{
"name": "orangesoft/backoff",
"description": "Back-off algorithm implementation.",
"keywords": [
"backoff",
"duration",
"jitter",
"retry",
"sleeper"
],
"license": "MIT",
"authors": [
{
"name": "Aleksandr Denisyuk",
"email": "a@denisyuk.by",
"homepage": "https://denisyuk.by/",
"role": "Developer"
}
],
"config": {
"sort-packages": true
},
"require": {
"php": "^8.1",
"beberlei/assert": "^3.3"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.10",
"php-parallel-lint/php-console-highlighter": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpbench/phpbench": "^1.2",
"phpunit/phpunit": "^9.5",
"psalm/plugin-phpunit": "^0.17.0",
"vimeo/psalm": "^4.26"
},
"autoload": {
"psr-4": {
"Orangesoft\\BackOff\\": "./src/"
},
"files": [
"./helpers.php"
]
},
"autoload-dev": {
"psr-4": {
"Orangesoft\\BackOff\\Tests\\": "./tests/"
}
},
"scripts": {
"phpunit": "./vendor/bin/phpunit --verbose --colors=always --no-coverage",
"phpunit:clear-cache": "rm ./build/cache/phpunit.cache",
"phpunit-coverage": "./vendor/bin/phpunit --verbose --colors=always --coverage-text",
"phpunit-coverage-html": "./vendor/bin/phpunit --verbose --colors=always --coverage-html ./build/logs/phpunit-coverage/",
"parallel-lint": "./vendor/bin/parallel-lint --colors ./src/ ./tests/",
"php-cs-fixer:fix": "./vendor/bin/php-cs-fixer fix --verbose --ansi --show-progress=dots",
"php-cs-fixer:diff": "./vendor/bin/php-cs-fixer fix --verbose --ansi --dry-run --diff",
"php-cs-fixer:clear-cache": "rm ./build/cache/php-cs-fixer.cache",
"psalm": "./vendor/bin/psalm --show-info=true",
"psalm:clear-cache": "rm -rf ./build/cache/psalm/",
"psalm:set-baseline": "@psalm --set-baseline=./psalm-baseline.xml --no-cache",
"psalm:update-baseline": "@psalm --update-baseline --no-cache",
"psalm:ignore-baseline": "@psalm --ignore-baseline --no-cache",
"test": [
"@parallel-lint",
"@psalm",
"@php-cs-fixer:diff",
"@phpunit"
]
}
}