-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
50 lines (50 loc) · 1.1 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
{
"name" : "ngabor84/enum",
"description" : "Enum is a simple implementation of php enumeration type.",
"homepage" : "https://github.com/ngabor84/enum",
"license": "MIT",
"authors": [
{
"name": "Gabor Nemeth",
"email": "negabor@gmail.com",
"homepage": "http://www.nemeth-gabor.hu",
"role": "Developer"
}
],
"require": {
"php" : "^7.0"
},
"require-dev": {
"phpunit/phpunit": "6.0",
"squizlabs/php_codesniffer": "3.0.0RC3",
"phpmd/phpmd": "2.6.0",
"sebastian/phpcpd": "3.0.0"
},
"autoload": {
"psr-4": {
"Enum\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"check": [
"@cs-check",
"@md-check",
"@cpd-check",
"@test"
],
"cs-check": "./vendor/bin/phpcs --colors",
"md-check": "./vendor/bin/phpmd ./src text phpmd.xml",
"cpd-check": "./vendor/bin/phpcpd ./src",
"cs-fix": "./vendor/bin/phpcbf --colors",
"test": "./vendor/bin/phpunit --colors=always"
},
"config": {
"preferred-install": "dist",
"sort-packages": true
}
}