forked from PHPCompatibility/PHPCompatibility
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
95 lines (95 loc) · 2.94 KB
/
composer.json
File metadata and controls
95 lines (95 loc) · 2.94 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name" : "phpcompatibility/php-compatibility",
"description" : "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.",
"type" : "phpcodesniffer-standard",
"keywords" : [ "compatibility", "phpcs", "standards" ],
"homepage" : "http://techblog.wimgodden.be/tag/codesniffer/",
"license" : "LGPL-3.0-or-later",
"authors" : [ {
"name" : "Wim Godden",
"role" : "lead",
"homepage" : "https://github.com/wimg"
},
{
"name" : "Juliette Reinders Folmer",
"role" : "lead",
"homepage" : "https://github.com/jrfnl"
},
{
"name" : "Contributors",
"homepage" : "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors"
} ],
"support" : {
"issues" : "https://github.com/PHPCompatibility/PHPCompatibility/issues",
"source" : "https://github.com/PHPCompatibility/PHPCompatibility"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require" : {
"php" : ">=5.4",
"squizlabs/php_codesniffer" : "^2.6 || ^3.1.0",
"phpcsstandards/phpcsutils" : "^1.0"
},
"require-dev" : {
"php-parallel-lint/php-parallel-lint": "^1.2.0",
"php-parallel-lint/php-console-highlighter": "^0.5",
"phpunit/phpunit": "^4.8 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || >=9.0 <9.3.0",
"phpcsstandards/phpcsdevtools": "^1.0"
},
"conflict": {
"squizlabs/php_codesniffer": "2.6.2"
},
"replace": {
"wimg/php-compatibility": "*"
},
"suggest" : {
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
},
"minimum-stability": "alpha",
"prefer-stable": true,
"extra": {
"branch-alias": {
"dev-master": "9.x-dev",
"dev-develop": "10.x-dev"
}
},
"scripts" : {
"test": [
"@php ./vendor/phpunit/phpunit/phpunit --no-coverage"
],
"coverage": [
"@php ./vendor/phpunit/phpunit/phpunit"
],
"coverage-local": [
"@php ./vendor/phpunit/phpunit/phpunit --coverage-html ./build/logs"
],
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git --exclude PHPCompatibility/Tests/Keywords/ForbiddenNames"
],
"check-complete": [
"@php ./vendor/phpcsstandards/phpcsdevtools/bin/phpcs-check-feature-completeness -q ./PHPCompatibility"
],
"check-complete-strict": [
"@php ./vendor/phpcsstandards/phpcsdevtools/bin/phpcs-check-feature-completeness ./PHPCompatibility"
],
"install-devcs": [
"composer require --dev phpcsstandards/phpcsdevcs:\"^1.1.3\" --no-suggest"
],
"remove-devcs": [
"composer remove --dev phpcsstandards/phpcsdevcs"
],
"checkcs": [
"@install-devcs",
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
"@remove-devcs"
],
"fixcs": [
"@install-devcs",
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf",
"@remove-devcs"
]
}
}