-
Notifications
You must be signed in to change notification settings - Fork 5
/
composer.json
93 lines (93 loc) · 3.48 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "emag-tech-labs/annotation-cache-bundle",
"description": "Annotation based caching for services inside a symfony container",
"type": "symfony-bundle",
"license": "MIT",
"authors": [
{
"name": "Daniel Toader",
"email": "[email protected]",
"role": "Developer"
},
{
"name": "Alexandru Bumbacea",
"email": "[email protected]",
"role": "Developer"
},
{
"name": "eMAGTechLabs",
"email": "[email protected]",
"homepage": "https://techlabs.emag.ro",
"role": "Maintainer"
}
],
"require": {
"php": "^8.0",
"psr/cache": "^1.0|^2.0|^3.0",
"psr/log": "^1.1|^2.0|^3.0",
"symfony/dependency-injection": "^4.0||^5.1||^6.0",
"symfony/yaml": "^4.0||^5.1||^6.0",
"friendsofphp/proxy-manager-lts": "^1.0",
"doctrine/annotations": "^1.11"
},
"require-dev": {
"symfony/framework-bundle": "^4.0||^5.1|^6.0",
"symfony/cache": "^4.0||^5.1|^6.0",
"symfony/monolog-bundle": "^3.6",
"phpunit/phpunit": "^8.5||^9.0",
"infection/infection": "^0.21.0",
"squizlabs/php_codesniffer": "^3.5",
"phpmetrics/phpmetrics": "^2.7",
"phpmd/phpmd": "^2.9",
"vimeo/psalm": "^4.4",
"phpstan/phpstan": "^1.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-phpunit": "^1.1",
"php-coveralls/php-coveralls": "^2.4"
},
"suggest": {
"symfony/cache": "^4.0||^5.1||^6.0"
},
"autoload": {
"psr-4": {
"EmagTechLabs\\AnnotationCacheBundle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"EmagTechLabs\\AnnotationCacheBundle\\Tests\\Functional\\App\\": "tests/Functional/app/src",
"EmagTechLabs\\AnnotationCacheBundle\\Tests\\": "tests/"
}
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"bin-dir": "./bin"
},
"scripts": {
"test": ["./bin/phpunit"],
"coverage": ["php -dzend_extension=xdebug.so -dxdebug.mode=coverage ./bin/phpunit --coverage-text --coverage-html=build/coverage/coverage-html --coverage-xml=build/coverage/coverage-xml"],
"mutate": ["./bin/infection --coverage=build/coverage --only-covered --min-covered-msi=70"],
"cs": ["./bin/phpcs --standard=PSR12 src tests"],
"cs-fix": ["./bin/phpcbf --standard=PSR12 src tests"],
"metrics": ["./bin/phpmetrics --config=./phpmetrics.json src"],
"md": ["./bin/phpmd src html phpmd.xml --reportfile build/phpmd.html"],
"clean": ["./bin/phpstan clear-result-cache", "./bin/psalm --clear-cache"],
"sa": ["./bin/phpstan analyse -c phpstan.neon --error-format=table", "./bin/psalm --show-info=true"],
"tests": ["@cs", "@md", "@sa", "@test", "@coverage", "@mutate"],
"build": ["@clean", "@cs", "@sa", "@coverage", "@metrics"]
},
"scripts-descriptions": {
"test": "Run unit tests",
"coverage": "Generate test coverage report",
"mutate": "Run mutation testing",
"cs": "Check the coding style",
"cs-fix": "Fix the coding style",
"metrics": "Build metrics report",
"md": "Run mess detector analysis",
"clean": "Delete tmp files",
"sa": "Run static analysis",
"tests": "Run tests and quality checks",
"build": "Build project"
}
}