-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
95 lines (95 loc) · 2.88 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
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "ray/psr-cache-module",
"description": "",
"license": "MIT",
"authors": [
{
"name": "Akihito Koriyama",
"email": "akihito.koriyama@gmail.com"
}
],
"require": {
"php": "^7.3 || ^8.0",
"psr/cache": "^1.0.1 || ^2.0 || ^3.0",
"ray/di": "^2.13.2",
"symfony/cache": "^5.3.4 || ^6.0 || ^7.1",
"doctrine/annotations": "^1.13 || ^2.0",
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0",
"ray/aop": "^2.10.4"
},
"require-dev": {
"ext-redis": "*",
"ext-memcached": "*",
"bamarni/composer-bin-plugin": "^1.4",
"phpunit/phpunit": "^9.5.28"
},
"autoload": {
"psr-4": {
"Ray\\PsrCacheModule\\": ["src/", "src-deprecated/"]
}
},
"autoload-dev": {
"psr-4": {
"Ray\\PsrCacheModule\\": [
"tests/",
"tests/Fake",
"tests-php8/Fake"
]
},
"files": ["src-files/apcu.php"]
},
"scripts": {
"setup": "php bin/setup.php",
"test": "./vendor/bin/phpunit",
"coverage": "php -dzend_extension=xdebug.so -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage",
"pcov": "php -dextension=pcov.so -d pcov.enabled=1 ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage --coverage-clover=coverage.xml",
"cs": "./vendor/bin/phpcs",
"cs-fix": "./vendor/bin/phpcbf src tests",
"metrics": "./vendor/bin/phpmetrics --report-html=build/metrics --exclude=Exception src",
"clean": [
"./vendor/bin/phpstan clear-result-cache",
"./vendor/bin/psalm --clear-cache"
],
"sa": [
"./vendor/bin/phpstan analyse -c phpstan.neon",
"psalm --show-info=true"
],
"tests": [
"@cs",
"@sa",
"@test"
],
"build": [
"@clean",
"@cs",
"@sa",
"@pcov",
"@metrics"
],
"post-install-cmd": "@composer bin all install --ansi",
"post-update-cmd": "@composer bin all update --ansi"
},
"scripts-descriptions": {
"test": "Run unit tests",
"coverage": "Generate test coverage report",
"pcov": "Generate test coverage report (pcov)",
"cs": "Check the coding style",
"cs-fix": "Fix the coding style",
"clean": "Delete tmp files",
"sa": "Run static analysis",
"metrics": "Build metrics report",
"tests": "Run tests and quality checks",
"build": "Build project"
},
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
}
}
}