forked from webimpress/coding-standard
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
51 lines (51 loc) · 1.25 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
{
"name": "webimpress/coding-standard",
"type": "phpcodesniffer-standard",
"description": "Webimpress Coding Standard",
"license": "BSD-2-Clause",
"keywords": [
"webimpress",
"coding standard",
"phpcs",
"psr-2",
"psr-12"
],
"require": {
"php": "^7.3 || ^8.0",
"squizlabs/php_codesniffer": "^3.7.2"
},
"require-dev": {
"phpunit/phpunit": "^9.6.15"
},
"autoload": {
"psr-4": {
"WebimpressCodingStandard\\": "src/WebimpressCodingStandard/"
}
},
"autoload-dev": {
"files": [
"vendor/squizlabs/php_codesniffer/autoload.php"
],
"psr-4": {
"PHP_CodeSniffer\\": "vendor/squizlabs/php_codesniffer/src/",
"WebimpressCodingStandardTest\\": "test/"
}
},
"config": {
"sort-packages": true
},
"extra": {
"dev-master": "1.2.x-dev",
"dev-develop": "1.3.x-dev"
},
"scripts": {
"check": [
"@cs-check",
"@test"
],
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
}
}