-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
44 lines (44 loc) · 1.08 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
{
"name": "k9u/php-skeleton",
"type": "project",
"license": "MIT",
"authors": [
{
"name": "Yuu Kawanami",
"email": "yuu.kawanami@gmail.com"
}
],
"minimum-stability": "stable",
"require": {
"php": "^7.4"
},
"require-dev": {
"phpmd/phpmd": "^2.9",
"phpstan/phpstan": "^0.12",
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
"psr-4": {
"K9u\\PhpSkeleton\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"K9u\\PhpSkeleton\\": "tests/"
}
},
"scripts": {
"check":["@lint", "@test"],
"test": "phpdbg -qrr ./vendor/bin/phpunit --coverage-text",
"lint": [
"phpcs --standard=PSR12 src",
"phpmd src text cleancode,codesize,controversial,design,naming,unusedcode",
"phpstan analyze --no-progress --level=max src"
],
"fmt": "phpcbf --standard=PSR12 src"
},
"config": {
"sort-packages": true
}
}