-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
50 lines (50 loc) · 1.56 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
{
"name": "daikon/metadata",
"type": "library",
"description": "Metadata components for Daikon-CQRS projects.",
"keywords": [ "metadata", "enricher" ],
"homepage": "https://github.com/daikon-cqrs/metadata",
"license": "MPL-2.0",
"prefer-stable": true,
"minimum-stability": "dev",
"require": {
"php": "^8.0",
"daikon/data-structure": "master@dev",
"daikon/interop": "master@dev"
},
"require-dev": {
"phpunit/phpunit": "^9.3",
"sebastian/phpcpd": "^6.0",
"squizlabs/php_codesniffer": "^3.3",
"vimeo/psalm": "^4.0"
},
"autoload": {
"psr-4": { "Daikon\\Metadata\\" : "src" }
},
"autoload-dev": {
"psr-4": { "Daikon\\Tests\\Metadata\\": "tests" }
},
"archive": {
"exclude": [
"/build",
"/vendor"
]
},
"scripts": {
"build": [ "@sniff", "@tests" ],
"code-sniffer": "phpcs -p -s --extensions=php --standard='PSR1,PSR2' src tests",
"code-sniffer-autofix": "phpcbf --standard=PSR2 -d tabWidth=4 src tests",
"copy-paste-detector": "phpcpd src tests || true",
"psalm": "psalm --shepherd --show-info=true",
"sniff": [
"@code-sniffer",
"@copy-paste-detector",
"@validate-json",
"@psalm"
],
"test": "phpunit --no-coverage",
"tests": "phpunit",
"validate-json": "composer validate --no-check-all --no-check-lock",
"validate-deps": "composer validate --with-dependencies --strict"
}
}