-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
53 lines (53 loc) · 1.7 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": "ksaveras/circuit-breaker",
"type": "library",
"description": "Circuit Breaker library",
"keywords": ["circuit breaker", "graceful", "error handling", "fault tolerance", "microservices"],
"license": "MIT",
"authors": [
{
"name": "Ksaveras Sakys",
"email": "xawiers@gmail.com"
}
],
"require": {
"php": "^8.1",
"psr/http-message": "^2.0",
"symfony/clock": "^6.2"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpunit/phpunit": "^10.1",
"psr/cache": "^1.0|^2.0|^3.0",
"rector/rector": "^0.16.0",
"symfony/phpunit-bridge": "^4.4|^5.0|^6.0"
},
"autoload": {
"psr-4": {
"Ksaveras\\CircuitBreaker\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Ksaveras\\CircuitBreaker\\Tests\\": "tests"
}
},
"suggest": {
"symfony/cache": "Allows storing circuit breaker data using Symfony Cache Component"
},
"scripts": {
"phpcs": "@php ./vendor/bin/php-cs-fixer fix --dry-run --diff",
"phpcs:fix": "@php ./vendor/bin/php-cs-fixer fix",
"phpstan": "@php ./vendor/bin/phpstan analyse",
"rector": "@php ./vendor/bin/rector process --dry-run",
"rector:fix": "@php ./vendor/bin/rector process",
"test": "@php -dapc.enable_cli=1 ./vendor/bin/phpunit",
"test:coverage": "@php -dapc.enable_cli=1 ./vendor/bin/phpunit --coverage-clover=coverage/clover.xml",
"static-analysis": ["@phpcs", "@phpstan", "@rector"]
},
"config": {
"sort-packages": true
}
}