-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
57 lines (57 loc) · 1.32 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
{
"name": "wildphp/command-parser",
"description": "Command parser subsystem used in WildPHP",
"type": "library",
"minimum-stability": "stable",
"license": "MIT",
"autoload": {
"psr-4": {
"WildPHP\\Commands\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"WildPHP\\Commands\\Tests\\": "tests/"
}
},
"require": {
"php": ">=7.2.0",
"yoshi2889/validation-closures": "^0.2",
"yoshi2889/collections": "^0.2"
},
"require-dev": {
"phpunit/phpunit": "^8.5",
"squizlabs/php_codesniffer": "^3.6.0",
"phpmd/phpmd": "^2.9.1",
"phpstan/phpstan": "^0.12.84"
},
"scripts": {
"qc": [
"@phpunit",
"@phpcs",
"@phpmd",
"@phpstan"
],
"phpunit": [
"@php vendor/bin/phpunit"
],
"phpcs": [
"@php vendor/bin/phpcs --standard=PSR12 src/ tests/"
],
"phpcs-github": [
"@php vendor/bin/phpcs --standard=PSR12 --report=checkstyle src/ tests/"
],
"phpcbf": [
"@php vendor/bin/phpcbf --standard=PSR12 src/ tests/"
],
"phpmd": [
"@php vendor/bin/phpmd src/ text phpmd_ruleset.xml --suffixes php"
],
"phpmd-github": [
"@php vendor/bin/phpmd src/ github phpmd_ruleset.xml --suffixes php"
],
"phpstan": [
"@php vendor/bin/phpstan analyse -c phpstan.neon -n src/"
]
}
}