-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
104 lines (104 loc) · 3.4 KB
/
composer.json
File metadata and controls
104 lines (104 loc) · 3.4 KB
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
{
"name": "ray/input-query",
"description": "Structured input objects from HTTP",
"license": "MIT",
"authors": [
{
"name": "Akihito Koriyama",
"email": "akihito.koriyama@gmail.com"
}
],
"require": {
"php": "^8.1",
"ray/di": "^2.18"
},
"suggest": {
"koriym/file-upload": "For file upload handling integration"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"phpunit/phpunit": "^10.5",
"koriym/file-upload": "^0.2.0"
},
"autoload": {
"psr-4": {
"Ray\\InputQuery\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Ray\\InputQuery\\": [
"tests",
"tests/Fake"
]
}
},
"scripts": {
"bin": "echo 'bin not installed'",
"test": "phpunit",
"coverage": "php -dzend_extension=xdebug.so -dxdebug.mode=coverage phpunit --coverage-text --coverage-html=build/coverage",
"phpdbg": "phpdbg -qrr phpunit --coverage-text --coverage-html ./build/coverage --coverage-clover=build/coverage.xml",
"pcov": "php -dextension=pcov.so -d pcov.enabled=1 ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage --coverage-clover=build/coverage.xml",
"cs": "phpcs",
"cs-fix": "phpcbf src tests",
"phpstan": "phpstan analyse -c phpstan.neon",
"psalm": "psalm --show-info=false",
"phpmd": "phpmd text ./phpmd.xml",
"baseline": "phpstan analyse -c phpstan.neon --generate-baseline --allow-empty-baseline && psalm --set-baseline=psalm-baseline.xml",
"crc": "composer-require-checker check ./composer.json",
"metrics": "phpmetrics --report-html=build/metrics --exclude=Exception src",
"clean": [
"phpstan clear-result-cache",
"psalm --clear-cache"
],
"sa": [
"@phpstan",
"@psalm"
],
"tests": [
"@cs",
"@sa",
"@test"
],
"build": [
"@clean",
"@cs",
"@sa",
"@coverage",
"@crc",
"@metrics"
],
"post-install-cmd": "@composer bin all install --ansi",
"post-update-cmd": "@composer bin all update --ansi"
},
"scripts-descriptions": {
"bin": "bamarni/composer-bin-plugin command",
"test": "Run unit tests",
"coverage": "Generate test coverage report",
"phpdbg": "Generate test coverage report (phpdbg)",
"pcov": "Generate test coverage report (pcov)",
"cs": "Check the coding style",
"cs-fix": "Fix the coding style",
"phpmd": "Analyze PHP code for potential issues",
"clean": "Remove temporary files",
"psalm": "Analyze code for type safety using Psalm",
"phpstan": "Analyze code for errors using PHPStan",
"sa": "Run static analysis",
"baseline": "Generate baseline for PHPStan and Psalm",
"metrics": "Build metrics report",
"crc": "Run composer require checker",
"tests": "Run tests and quality checks",
"build": "Build project"
},
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
}
}
}