-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
74 lines (74 loc) · 1.99 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
{
"name": "koriym/dii",
"description": "Dependency Injection Plugin for Yii 1",
"authors": [
{
"name": "Akihito Koriyama",
"email": "akihito.koriyama@gmail.com"
},
{
"name": "Hiroshi Sambo",
"email": "sun3bow@gmail.com"
},
{
"name": "Seiji Amashige",
"email": "tenjuu99@gmail.com"
}
],
"require": {
"php": "^7.1 || ^8.0",
"yiisoft/yii": "^1.1.16",
"ray/di": "^2.10"
},
"require-dev": {
"phpunit/phpunit": "^8.5 || ^9.6.19",
"doctrine/coding-standard": "^8.2",
"phpmd/phpmd": "^2.9",
"squizlabs/php_codesniffer": "^3.5",
"symfony/process": "^5.2"
},
"autoload": {
"psr-4": {
"Koriym\\Dii\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Koriym\\Dii\\": [
"tests/"
]
},
"classmap": [
"vendor/yiisoft/yii/framework/base/",
"vendor/yiisoft/yii/framework/web/",
"vendor/yiisoft/yii/framework/console/"
]
},
"license": "MIT",
"scripts": {
"demo": "php -S 127.0.0.1:8080 -t demo/public",
"test": ["phpunit"],
"tests": ["@clean", "@sa", "@cs", "@test"],
"sa": "psalm --show-info=false",
"cs": "phpcs --standard=./phpcs.xml src tests",
"cs-fix": "phpcbf src tests",
"clean": "psalm --clear-cache",
"coverage": ["php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"],
"pcov": ["php -dextension=pcov.so -d pcov.enabled=1 ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage --coverage-clover=coverage.xml"]
},
"scripts-descriptions": {
"demo": "Run demo",
"test": "Run unit tests",
"tests": "Run tests and quality checks",
"coverage": "Generate test coverage report",
"pcov": "Generate test coverage report (pcov)",
"cs": "Checks the coding standard",
"cs-fix": "Fix the coding standard",
"sa": "Run static analysis"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}