-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
112 lines (112 loc) · 3.77 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
111
112
{
"name": "kenjis/ci4-app-template",
"type": "project",
"description": "CodeIgniter4 application template",
"keywords": ["codeigniter", "codeigniter4", "project template"],
"homepage": "https://github.com/kenjis/ci4-app-template",
"license": "MIT",
"authors": [
{
"name": "Kenji Suzuki",
"homepage": "https://github.com/kenjis"
}
],
"require": {
"php": "^7.4 || ^8.0",
"codeigniter4/translations": "dev-develop",
"codeigniter4/codeigniter4": "^4.2",
"liaison/revision": "^1.0"
},
"require-dev": {
"fakerphp/faker": "^1.9",
"mikey179/vfsstream": "^1.6",
"phpunit/phpunit": "^9.1",
"bamarni/composer-bin-plugin": "^1.4",
"codeigniter4/devkit": "^1.0",
"tatter/patches": "^2.1"
},
"suggest": {
"ext-fileinfo": "Improves mime type detection for files"
},
"autoload": {
"exclude-from-classmap": [
"**/Database/Migrations/**"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\Support\\": "tests/_support"
}
},
"scripts": {
"post-install-cmd": "@composer bin all install --ansi",
"post-update-cmd": [
"@composer bin all update --ansi",
"@composer dump-autoload"
],
"test": "phpunit",
"coverage": "php -dzend_extension=xdebug.so -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage --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",
"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"
},
"support": {
"forum": "http://forum.codeigniter.com/",
"source": "https://github.com/codeigniter4/CodeIgniter4",
"slack": "https://codeigniterchat.slack.com"
},
"minimum-stability": "dev",
"prefer-stable": true,
"repositories": [
{
"type": "vcs",
"url": "https://github.com/codeigniter4/codeigniter4"
}
],
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"phpstan/extension-installer": true
}
}
}