-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomposer.json
60 lines (60 loc) · 2.01 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
{
"name": "php-service-bus/skeleton",
"description": "PHP Service Bus skeleton",
"type": "project",
"license": "MIT",
"minimum-stability": "stable",
"require": {
"php": ">=8.1",
"ext-json": "*",
"php-service-bus/service-bus": "v5.1.x-dev",
"php-service-bus/storage": "v5.1.x-dev",
"php-service-bus/transport": "v5.1.x-dev",
"php-service-bus/active-record": "v5.1.x-dev",
"php-service-bus/event-sourcing": "v5.1.x-dev",
"php-service-bus/sagas": "v5.1.x-dev",
"php-service-bus/scheduler": "v5.1.x-dev",
"symfony/validator": "v6.0.*"
},
"require-dev": {
"php-service-bus/code-style-config": "v5.1.*",
"phpunit/phpunit": "v9.5.*",
"vimeo/psalm": "v4.22.*",
"phpstan/phpstan": "v1.5.*",
"boesing/psalm-plugin-stringf": "v1.1.*"
},
"config": {
"sort-packages": true,
"optimize-autoloader": true,
"allow-plugins": {
"composer/package-versions-deprecated": true
}
},
"autoload": {
"psr-4": {
"App\\": "src/"
},
"files": [
"app/AppExtension.php",
"tools/ToolsPublisher.php"
]
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
},
"files": [
"app/AppExtension.php",
"tools/ToolsPublisher.php"
]
},
"scripts": {
"psalm": "rm -rf ~/.cache/psalm/ && ./vendor/bin/psalm --config=psalm.xml",
"phpstan": "./vendor/bin/phpstan analyse src --level 9",
"tests": "./vendor/bin/phpunit --configuration phpunit.xml --debug --verbose --debug",
"coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --configuration phpunit.xml --coverage-html ./coverage --debug --verbose --debug",
"cs-check": "./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run",
"cs-fix": "./vendor/bin/php-cs-fixer fix --allow-risky=yes",
"pre-commit": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes && ./vendor/bin/psalm --config=psalm.xml && ./vendor/bin/phpstan analyse src --level 7 && ./vendor/bin/phpunit --configuration phpunit.xml --debug --verbose"
}
}