-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
72 lines (72 loc) · 1.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
{
"name": "zlodes/prometheus-client",
"description": "The Prometheus Metrics client for PHP",
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Zlatoslav Desyatnikov",
"email": "[email protected]"
}
],
"require": {
"php": "^8.1",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"webmozart/assert": "^1.11"
},
"require-dev": {
"ergebnis/composer-normalize": "dev-main",
"infection/infection": "^0.27.0",
"mockery/mockery": "^1.5",
"phpcompatibility/php-compatibility": "^9.3",
"phpmd/phpmd": "^2.13",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-webmozart-assert": "^1.2",
"phpunit/phpunit": "^10.0",
"roave/security-advisories": "dev-latest",
"slevomat/coding-standard": "^8.11",
"squizlabs/php_codesniffer": "^3.7",
"vimeo/psalm": "^5.0"
},
"minimum-stability": "beta",
"autoload": {
"psr-4": {
"Zlodes\\PrometheusClient\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Zlodes\\PrometheusClient\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"infection/extension-installer": true,
"phpstan/extension-installer": true
},
"sort-packages": true
},
"scripts": {
"full-check": [
"@phpcs",
"@psalm",
"@phpstan",
"@phpmd",
"@test:coverage",
"@infection"
],
"infection": "./vendor/bin/infection --show-mutations --threads=4",
"phpcs": "./vendor/bin/phpcs -p src",
"phpmd": "./vendor/bin/phpmd src text phpmd.xml",
"phpstan": "./vendor/bin/phpstan",
"psalm": "./vendor/bin/psalm --show-info=true",
"test": "./vendor/bin/phpunit --display-warnings",
"test:coverage": [
"@putenv XDEBUG_MODE=coverage",
"@test"
]
}
}