-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
110 lines (110 loc) · 3.88 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "kenjis/ci4-tettei-apps",
"type": "project",
"description" : "『CodeIgniter徹底入門』のサンプルアプリケーション",
"license": "BSD-3-Clause",
"require": {
"php": ">=8.0",
"ext-mbstring": "*",
"codeigniter4/translations": "dev-develop",
"codeigniter4/codeigniter4": "^4.3",
"kenjis/codeigniter-ss-twig": "^4.0",
"kenjis/ci3-to-4-upgrade-helper": "~0.3",
"liaison/revision": "^1.0",
"ray/di": "^2.0",
"kenjis/ci4-attribute-routes": "~0.1"
},
"require-dev": {
"fakerphp/faker": "^1.9",
"mikey179/vfsstream": "1.6.*",
"codeception/codeception": "^5.0",
"codeception/module-webdriver": "^3.0",
"kenjis/phpunit-helper": "^1.0",
"symfony/dom-crawler": "^5.2",
"symfony/css-selector": "^5.2",
"rector/rector": "^0.14",
"doctrine/coding-standard": "^9.0",
"friendsofphp/php-cs-fixer": "^3.4",
"phploc/phploc": "^7.0",
"phpmd/phpmd": "^2.11",
"phpmetrics/phpmetrics": "^2.7",
"phpstan/phpstan": "^1.3",
"phpunit/phpunit": "^9.5.10",
"psalm/plugin-phpunit": "^0.16",
"sebastian/phpcpd": "^6.0",
"squizlabs/php_codesniffer": "^3.5",
"vimeo/psalm": "^4.2",
"tatter/patches": "^2.1"
},
"autoload-dev": {
"psr-4": {
"Tests\\Support\\": "tests/_support"
}
},
"scripts": {
"post-install-cmd": [],
"post-update-cmd": [
"@composer dump-autoload"
],
"test": "phpunit --no-coverage",
"coverage": "php -dzend_extension=xdebug.so -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --log-junit=build/coverage/junit.xml",
"pcov": "php -dextension=pcov.so -d pcov.enabled=1 ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage --coverage-clover=coverage.xml --log-junit=build/coverage/junit.xml",
"cs-fix": "phpcbf",
"cs": "phpcs",
"rector": "rector process --dry-run --clear-cache",
"rector-fix": "rector process --clear-cache",
"md": "phpmd app text ./phpmd.xml --exclude */app/Config,*/app/Views",
"metrics": "./vendor/bin/phpmetrics --report-html=build/metrics --exclude='Config,Database,Language,ThirdParty,Views' --junit=build/coverage/junit.xml app",
"loc": [
"./vendor/bin/phploc --exclude=app/Config --exclude=app/Language --exclude=app/ThirdParty --exclude=app/Views/errors app/",
"./vendor/bin/phploc --count-tests --exclude=_supprot --exclude=bootstrap.php tests/"
],
"clean": [
"./vendor/bin/phpstan clear-result-cache",
"./vendor/bin/psalm --clear-cache"
],
"sa": [
"phpstan analyse --no-progress -c phpstan.neon",
"psalm --show-info=true",
"@md"
],
"tests": [
"@cs",
"@sa",
"@test"
],
"build": [
"@clean",
"@cs",
"@sa",
"@pcov",
"@metrics"
]
},
"scripts-descriptions": {
"test": "Run PHPUnit",
"coverage": "Generate test coverage report",
"pcov": "Generate test coverage report (pcov)",
"cs": "Check the coding style",
"cs-fix": "Fix the coding style",
"md": "Run PHPMD",
"metrics": "Run PhpMetrics",
"clean": "Delete tmp files",
"sa": "Run static analysis",
"tests": "Run tests and quality checks",
"build": "Build project"
},
"minimum-stability": "dev",
"prefer-stable": true,
"repositories": [
{
"type": "vcs",
"url": "https://github.com/codeigniter4/codeigniter4"
}
],
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}