-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
composer.json
80 lines (80 loc) · 3.02 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name" : "phpcsstandards/phpcsextra",
"description" : "A collection of sniffs and standards for use with PHP_CodeSniffer.",
"type" : "phpcodesniffer-standard",
"keywords" : [ "phpcs", "phpcbf", "standards", "static analysis", "php_codesniffer", "phpcodesniffer-standard" ],
"license" : "LGPL-3.0-or-later",
"authors" : [
{
"name" : "Juliette Reinders Folmer",
"role" : "lead",
"homepage" : "https://github.com/jrfnl"
},
{
"name" : "Contributors",
"homepage" : "https://github.com/PHPCSStandards/PHPCSExtra/graphs/contributors"
}
],
"support" : {
"issues" : "https://github.com/PHPCSStandards/PHPCSExtra/issues",
"source" : "https://github.com/PHPCSStandards/PHPCSExtra"
},
"require" : {
"php" : ">=5.4",
"squizlabs/php_codesniffer" : "^3.7.0",
"dealerdirect/phpcodesniffer-composer-installer" : "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7",
"phpcsstandards/phpcsutils" : "^1.0 || dev-develop"
},
"require-dev" : {
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"php-parallel-lint/php-console-highlighter": "^1.0",
"phpcsstandards/phpcsdevtools": "^1.0",
"phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0"
},
"extra": {
"branch-alias": {
"dev-stable": "1.x-dev",
"dev-develop": "1.x-dev"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts" : {
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . --show-deprecated -e php --exclude vendor --exclude .git"
],
"install-devcs": [
"composer require --dev phpcsstandards/phpcsdevcs:\"^1.1.3\" --no-suggest --no-interaction"
],
"remove-devcs": [
"composer remove --dev phpcsstandards/phpcsdevcs --no-interaction"
],
"checkcs": [
"@install-devcs",
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
"@remove-devcs"
],
"fixcs": [
"@install-devcs",
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf",
"@remove-devcs"
],
"check-complete": [
"@php ./vendor/phpcsstandards/phpcsdevtools/bin/phpcs-check-feature-completeness ./NormalizedArrays ./Universal"
],
"test": [
"@php ./vendor/phpunit/phpunit/phpunit --filter PHPCSExtra --no-coverage ./vendor/squizlabs/php_codesniffer/tests/AllTests.php"
],
"coverage": [
"@php ./vendor/phpunit/phpunit/phpunit --filter PHPCSExtra ./vendor/squizlabs/php_codesniffer/tests/AllTests.php"
],
"coverage-local": [
"@php ./vendor/phpunit/phpunit/phpunit --filter PHPCSExtra ./vendor/squizlabs/php_codesniffer/tests/AllTests.php --coverage-html ./build/coverage-html"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}