-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
62 lines (62 loc) · 1.79 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
{
"name": "danilin-em/memcached",
"description": "Memcached client for PHP. No dependencies, no extensions, no third-party libraries. No regrets.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Evgenii Danilin",
"email": "evgenii.danilin.m@gmail.com"
}
],
"homepage": "https://github.com/danilin-em/test-memcached-lib",
"require": {
"php": "^8.0",
"ext-mbstring": "*"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"phpunit/phpunit": "^11.0",
"infection/infection": "^0.28.1",
"phpstan/phpstan": "^1.10",
"phpmd/phpmd": "^2.15",
"squizlabs/php_codesniffer": "^3.9"
},
"autoload": {
"psr-4": {
"Memcached\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Memcached\\Tests\\": "tests/"
}
},
"scripts": {
"phpunit": "XDEBUG_IS_ACTIVE=1 XDEBUG_TRIGGER=XDEBUG_IS_ACTIVE XDEBUG_MODE=coverage,debug phpunit -c phpunit.xml --testdox",
"test-unit": "@phpunit --testsuite Unit",
"infection": [
"Composer\\Config::disableProcessTimeout",
"infection --threads=6 --min-msi=80 --min-covered-msi=80 --log-verbosity=all --show-mutations --only-covered"
],
"phpstan": "phpstan analyse --configuration=phpstan.neon --memory-limit=512M --no-progress --error-format=table --no-interaction --ansi",
"phpcs": ["mkdir -p .tmp && phpcs --standard=phpcs.xml --cache=./.tmp/.phpcs.cache"],
"phpcbf": ["mkdir -p .tmp && phpcbf --standard=phpcs.xml --cache=./.tmp/.phpcs.cache"],
"phpmd": ["phpmd ./src text ./phpmd.xml"],
"cs": ["@phpcs", "@phpmd"],
"ci": [
"@cs",
"@phpstan",
"@phpunit",
"@infection"
]
},
"config": {
"platform": {
"php": "8.3"
},
"allow-plugins": {
"infection/extension-installer": true
}
}
}