forked from pda/flexihash
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
114 lines (114 loc) · 4.45 KB
/
composer.json
File metadata and controls
114 lines (114 loc) · 4.45 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "esi/consistent-hash",
"description": "ConsistentHash is a small library which implements consistent hashing. Modernized fork of flexihash/flexihash.",
"license": "MIT",
"type": "library",
"keywords": [
"php",
"consistent",
"hash",
"consistent-hash",
"consistent-hashing"
],
"authors": [
{
"name": "Eric Sizemore",
"email": "admin@secondversion.com",
"homepage": "https://www.secondversion.com",
"role": "Developer"
},
{
"name": "Paul Annesley",
"email": "paul@annesley.cc",
"homepage": "https://paul.annesley.cc",
"role": "flexihash/flexihash Developer"
},
{
"name": "Dom Morgan",
"email": "dom@d3r.com",
"homepage": "https://d3r.com",
"role": "flexihash/flexihash Developer"
}
],
"homepage": "https://github.com/ericsizemore/consistent-hash",
"support": {
"issues": "https://github.com/ericsizemore/consistent-hash/issues",
"forum": "https://github.com/ericsizemore/consistent-hash/discussions",
"source": "https://github.com/ericsizemore/consistent-hash/tree/main",
"docs": "https://github.com/ericsizemore/consistent-hash",
"rss": "https://github.com/ericsizemore/consistent-hash/releases.atom",
"security": "https://github.com/ericsizemore/consistent-hash/security/policy"
},
"require": {
"php": "^8.3",
"ext-hash": "*"
},
"require-dev": {
"esi/phpunit-coverage-check": "^3.1",
"friendsofphp/php-cs-fixer": "^3.94",
"phpbench/phpbench": "^1.4",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^12.5",
"psalm/plugin-phpunit": "^0.19.0",
"rector/rector": "^2.3",
"vimeo/psalm": "^6.15"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Esi\\ConsistentHash\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Esi\\ConsistentHash\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"extra": {
"branch-alias": {
"dev-main": "2.x-dev"
}
},
"scripts": {
"analyze": [
"@clear-build",
"@composer validate",
"@phpunit",
"@code-coverage",
"@psalm:shepherd",
"@psalm:security",
"@phpstan"
],
"benchmark": "vendor/bin/phpbench run --report=aggregate --iterations=4 --retry-threshold=5",
"benchmark:chart": "vendor/bin/phpbench run --report=hashing --iterations=4 --retry-threshold=5",
"benchmark:chart:opcache": "vendor/bin/phpbench run --report=hashing --iterations=4 --retry-threshold=5 --php-config=\"opcache.enable: 1, opcache.enable_cli: 1\"",
"benchmark:opcache": "vendor/bin/phpbench run --report=aggregate --iterations=4 --retry-threshold=5 --php-config=\"opcache.enable: 1, opcache.enable_cli: 1\"",
"clear-build": "rm -rf ./build/*",
"code-coverage": "vendor/bin/coverage-check build/logs/clover.xml 100",
"phpcs:check": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --dry-run --diff",
"phpcs:fix": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php",
"phpstan": "vendor/bin/phpstan analyse -c phpstan.neon -vvv",
"phpstan:baseline": "vendor/bin/phpstan --generate-baseline=phpstan-baseline.neon",
"phpunit": "vendor/bin/phpunit",
"phpunit:benchmark": "vendor/bin/phpunit --group benchmark --no-coverage",
"phpunit:migrate": "@phpunit --migrate-configuration",
"psalm": "vendor/bin/psalm -c psalm.xml --no-cache",
"psalm:baseline": "@psalm --no-diff --set-baseline=psalm-baseline.xml",
"psalm:ci": "@psalm:security --shepherd --report=results.sarif",
"psalm:security": "@psalm --no-diff --taint-analysis",
"psalm:shepherd": "@psalm --no-diff --shepherd --stats",
"psalm:withinfo": "@psalm --no-diff --show-info=true",
"refactor:check": "@refactor:fix --dry-run",
"refactor:fix": "vendor/bin/rector process"
}
}