-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
78 lines (78 loc) · 3.66 KB
/
composer.json
File metadata and controls
78 lines (78 loc) · 3.66 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
{
"name": "llegaz/redis-cache",
"description": "PSR-16 and PSR-6 implementations based on Redis Strings and Hashes",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Laurent LEGAZ",
"email": "laurent@legaz.eu"
}
],
"keywords": [
"cache",
"psr-6",
"psr-16",
"phpredis",
"predis",
"redis"
],
"require": {
"php": ">=8.1",
"llegaz/redis-adapter": "~0.1",
"psr/cache": "^3.0",
"psr/simple-cache": "^3.0"
},
"require-dev": {
"phpunit/phpunit": "^10.5",
"symfony/var-dumper": "~6.4",
"friendsofphp/php-cs-fixer": "~3.3",
"cache/integration-tests": "dev-master"
},
"suggest": {
"ext-redis": "^5.3"
},
"autoload": {
"psr-4": {
"LLegaz\\Cache\\": "src/",
"LLegaz\\Cache\\Entry\\": "src/CacheEntry/",
"LLegaz\\Cache\\Pool\\": "src/CacheEntryPool/"
}
},
"autoload-dev": {
"psr-4": {
"LLegaz\\Cache\\Tests\\": "tests/",
"LLegaz\\Redis\\Tests\\": "vendor/llegaz/redis-adapter/tests/"
}
},
"scripts": {
"pu":"@phpunit",
"puv":"@phpunit-verbose",
"pui":"@phpunit-int-suite",
"puiv":"@phpunit-int-verbose",
"puf":"@phpunit-func-suite",
"pufv":"@phpunit-func-verbose",
"cs":"@phpcsfixer",
"test": "./vendor/bin/phpunit --display-deprecations --display-notices --display-warnings --colors=always --configuration ./phpunit.xml --bootstrap .phpunit_full",
"test-only": "./vendor/bin/phpunit --display-deprecations --display-notices --display-warnings --colors=always --configuration ./phpunit.xml --bootstrap .phpunit_full --filter SecurityTest::testSpecialCharactersDoNotCauseInjection",
"test-psr16": "./vendor/bin/phpunit --display-deprecations --display-notices --display-warnings --colors=always --configuration ./phpunit.xml --bootstrap .phpunit_full --filter CacheIntegrationTest",
"test-psr6": "./vendor/bin/phpunit --display-deprecations --display-notices --display-warnings --colors=always --configuration ./phpunit.xml --bootstrap .phpunit_full --filter PoolIntegrationTest",
"phpunit" : "./vendor/bin/phpunit --colors=always --configuration ./phpunit.xml --testsuite unit",
"phpunit-verbose" : "./vendor/bin/phpunit --colors=always --configuration ./phpunit.xml --no-output --log-events-text php://stdout",
"phpunit-int-suite" : "./vendor/bin/phpunit --colors=always --configuration ./phpunit.xml --testsuite integration --bootstrap .phpunit_full",
"phpunit-func-suite" : "./vendor/bin/phpunit --colors=always --configuration ./phpunit.xml --testsuite functional --bootstrap .phpunit_full",
"phpunit-int-verbose" : "./vendor/bin/phpunit --colors=always --configuration ./phpunit.xml --testsuite integration --bootstrap .phpunit_full --no-output --log-events-text php://stdout",
"phpunit-func-verbose" : "./vendor/bin/phpunit --colors=always --configuration ./phpunit.xml --testsuite functional --bootstrap .phpunit_full --no-output --log-events-text php://stdout",
"phpcsfixer": "./vendor/bin/php-cs-fixer fix --config=./.php-cs-fixer.php --diff -vvv"
},
"scripts-descriptions": {
"test": "Run the full tests suite",
"pu": "Run all unit tests",
"puv": "Run all unit tests but verbose..",
"pui": "Run all integration tests",
"puf": "Run all functional tests",
"cs": "Clean the sources",
"test-psr6": "Run the PSR-6 integration tests suite",
"test-psr16": "Run the PSR-16 integration tests suite"
}
}