-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
46 lines (46 loc) · 1.17 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
{
"name": "k9u/enum",
"description": "an Enumeration implementation for PHP",
"type": "library",
"keywords": ["enum", "enumeration"],
"license": "MIT",
"authors": [
{
"name": "Yuu Kawanami",
"email": "yuu.kawanami@gmail.com"
}
],
"minimum-stability": "stable",
"require": {
"php": ">=7.3"
},
"require-dev": {
"phpmd/phpmd": "^2.9",
"phpstan/phpstan": "^0.12",
"phpunit/phpunit": "^8.5",
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
"psr-4": {
"K9u\\Enum\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"K9u\\Enum\\": ["examples/", "tests/", "tests/Fake/"]
}
},
"scripts": {
"check":["@lint", "@test"],
"test": "phpdbg -qrr ./vendor/bin/phpunit --coverage-text",
"lint": [
"phpcs --standard=PSR12 src examples",
"phpmd src,examples text phpmd.xml",
"phpstan analyze --no-progress --level=max src examples"
],
"fmt": "phpcbf --standard=PSR12 src examples"
},
"config": {
"sort-packages": true
}
}