-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
69 lines (69 loc) · 2.09 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
68
69
{
"name": "lmc/cqrs-handler",
"description": "A library containing handlers to help with Queries and Commands",
"license": "MIT",
"type": "library",
"require": {
"php": "^8.2",
"ext-json": "*",
"ext-mbstring": "*",
"lmc/cqrs-types": "^3.2",
"psr/cache": "^2.0 || ^3.0",
"psr/http-message": "^1.0.1 || ^2.0",
"ramsey/collection": "^1.2.2 || ^2.0",
"ramsey/uuid": "^4.2.3",
"symfony/stopwatch": "^5.0 || ^6.0 || ^7.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.5",
"lmc/coding-standard": "^3.3",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.4",
"phpstan/phpstan-phpunit": "^1.0",
"phpunit/phpunit": "^11.0.4",
"symfony/cache": "^5.2 || ^6.0 || ^7.0"
},
"autoload": {
"psr-4": {
"Lmc\\Cqrs\\Handler\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Lmc\\Cqrs\\Handler\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
},
"sort-packages": true
},
"scripts": {
"all": [
"@lint",
"@analyze",
"@tests"
],
"analyze": [
"@cs",
"@phpstan"
],
"cs": "vendor/bin/ecs check --ansi src/ tests/ ecs.php",
"fix": [
"vendor/bin/ecs check --ansi --clear-cache --fix src/ tests/ ecs.php",
"@composer normalize"
],
"lint": [
"vendor/bin/parallel-lint -j 10 ./src ./tests",
"@composer validate",
"@composer normalize --dry-run"
],
"phpstan": "vendor/bin/phpstan analyze -c phpstan.neon --ansi",
"tests": "vendor/bin/phpunit",
"tests-ci": "mkdir -p reports && php -dxdebug.coverage_enable=1 vendor/bin/phpunit -c phpunit.xml.dist"
}
}