-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
63 lines (63 loc) · 1.82 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
58
59
60
61
62
63
{
"name": "sugared-rim/php_codesniffer",
"type": "library",
"description": "PHP_CodeSniffer sweetened with ease",
"license": "MIT",
"keywords": ["sugared", "preconfigured", "php_codesniffer", "phpcs", "standards", "sugared-rim"],
"authors": [
{
"name": "Michael Mayer",
"email": "michael@schnittstabil.de"
}
],
"autoload": {
"psr-4": { "SugaredRim\\PHP\\CodeSniffer\\": "src" }
},
"autoload-dev": {
"psr-4": { "SugaredRim\\PHP\\CodeSniffer\\": "tests" }
},
"require": {
"php": ">=5.6.0",
"schnittstabil/composer-extra": "^2.0",
"schnittstabil/finder-by-config": "^1.0",
"squizlabs/php_codesniffer": "^2.6 || 3.0 !=2.8.0 !=3.0.0"
},
"require-dev": {
"sugared-rim/phpunit": "^6.0 || ^7.0"
},
"extra": {
"sugared-rim/phpunit": {
"bootstrap": "tests/bootstrap.php"
},
"sugared-rim/php_codesniffer test namespace": {
"default_standard": ["PSR1", "PSR2"],
"files": {
"in": "tests/fixtures"
}
}
},
"bin": [
"sugared-rim-phpcbf",
"sugared-rim-phpcs"
],
"scripts": {
"clean": "rm -rf build/",
"doc": [
"sugared-rim-sami",
"phpmetrics --report-html build/phpmetrics/index.html src/"
],
"lint": [
"phpcs -s --standard=PSR1,PSR2 src/ tests/",
"sugared-rim-phpmd",
"php-cs-fixer fix --dry-run --diff src",
"php-cs-fixer fix --dry-run --diff tests"
],
"test": [
"./sugared-rim-phpcbf --help",
"./sugared-rim-phpcs --help",
"sugared-rim-phpunit",
"composer lint"
],
"travis": "sugared-rim-phpunit"
}
}