-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
56 lines (56 loc) · 1.61 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
{
"name": "sugared-rim/phpmd",
"type": "library",
"description": "PHPMD sweetened with ease",
"license": "MIT",
"keywords": ["sugared", "preconfigured", "phpmd", "standards", "pmd", "mess detection", "mess detector", "sugared-rim"],
"authors": [
{
"name": "Michael Mayer",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": { "SugaredRim\\PHPMD\\": "src" }
},
"autoload-dev": {
"psr-4": { "SugaredRim\\PHPMD\\": "tests" }
},
"require": {
"php": ">=5.6.0",
"phpmd/phpmd": "^2.3",
"psr/log": "^1.0",
"schnittstabil/composer-extra": "^1.0 || ^2.0"
},
"require-dev": {
"sugared-rim/phpunit": "^2.0 || ^6.0 || ^7.0"
},
"extra": {
"sugared-rim/phpmd invalid inputfile": {
"inputfile": ""
}
},
"bin": [
"sugared-rim-phpmd"
],
"scripts": {
"clean": "rm -rf build/",
"doc": [
"sugared-rim-sami",
"phpmetrics --report-html build/phpmetrics/index.html src/"
],
"lint": [
"sugared-rim-phpcs",
"phpmd sugared-rim-phpmd,src,tests text cleancode,codesize,controversial,design,naming,unusedcode",
"php-cs-fixer fix --dry-run --diff sugared-rim-phpmd",
"php-cs-fixer fix --dry-run --diff src",
"php-cs-fixer fix --dry-run --diff tests"
],
"test": [
"sugared-rim-phpunit",
"./sugared-rim-phpmd",
"composer lint"
],
"travis": "sugared-rim-phpunit"
}
}