-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
executable file
·53 lines (53 loc) · 1.57 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
{
"name": "not-empty/database-cache-php-lib",
"description": "PHP library for put all database result in cache",
"version": "7.0.0",
"type": "library",
"license": "GPL-3.0-only",
"require": {
"php": "^8.3",
"predis/predis": "^2.2"
},
"authors": [
{
"name": "Not Empty Foundation",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"DatabaseCache\\": "src/"
}
},
"scripts": {
"post-install-cmd": [
"bash contrib/setup.sh"
],
"check": [
"@lint",
"@cs",
"@mess",
"@test",
"@ccu"
],
"mess" : [
"vendor/bin/phpmd ./src text phpmd.xml",
"vendor/bin/phpmd ./sample text phpmd.xml"
],
"lint": [
"find ./src -name '*.php' -print0 | xargs -0 -n1 -P8 php -l -d display_errors=0",
"find ./tests -name '*.php' -print0 | xargs -0 -n1 -P8 php -l -d display_errors=0",
"find ./sample -name '*.php' -print0 | xargs -0 -n1 -P8 php -l -d display_errors=0"
],
"cs": "vendor/bin/phpcs",
"test": "phpdbg -qrr vendor/bin/phpunit --configuration phpunit.xml -d memory_limit=1024M",
"ccu" : "php contrib/coverage-checker.php coverage/coverage.xml 100"
},
"require-dev": {
"phpunit/phpunit": "^9.6",
"mockery/mockery": "^1.6",
"squizlabs/php_codesniffer": "^3.7",
"phpmd/phpmd": "^2.14",
"pdepend/pdepend": "2.15.*"
}
}