-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
67 lines (67 loc) · 1.97 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
{
"name": "beste/in-memory-cache",
"description": "A PSR-6 In-Memory cache that can be used as a fallback implementation and/or in tests.",
"keywords": ["cache", "psr-6", "beste"],
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Jérôme Gamez",
"email": "[email protected]"
}
],
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"psr/cache": "^2.0 || ^3.0",
"psr/clock": "^1.0"
},
"require-dev": {
"beste/clock": "^3.0",
"beste/php-cs-fixer-config": "^3.2.0",
"friendsofphp/php-cs-fixer": "^3.62.0",
"phpstan/extension-installer": "^1.4.1",
"phpstan/phpstan": "^2.0.1",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^10.5.2 || ^11.3.1",
"symfony/var-dumper": "^6.4 || ^7.1.3"
},
"provide": {
"psr/cache-implementation": "2.0 || 3.0"
},
"suggest": {
"psr/clock-implementation": "Allows injecting a Clock, for example a frozen clock for testing"
},
"autoload": {
"psr-4": {
"Beste\\Cache\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Beste\\Cache\\Tests\\": "tests"
}
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
},
"sort-packages": true
},
"scripts": {
"analyse": "vendor/bin/phpstan analyse",
"analyze": "@analyse",
"cs-fix": "vendor/bin/php-cs-fixer fix --diff --verbose",
"test": "vendor/bin/phpunit --testdox",
"test-coverage": [
"Composer\\Config::disableProcessTimeout",
"XDEBUG_MODE=coverage vendor/bin/phpunit --testdox --coverage-html=.build/coverage"
],
"check": [
"@cs-fix",
"@analyse",
"@test"
]
}
}