-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
45 lines (45 loc) · 1.04 KB
/
composer.json
File metadata and controls
45 lines (45 loc) · 1.04 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
{
"name": "danielescherzer/common-phpcs",
"description": "PHP CodeSniffer standards, partially based on mediawiki/mediawiki-codesniffer",
"type": "phpcodesniffer-standard",
"authors": [
{
"name": "Daniel E Scherzer",
"homepage": "https://github.com/DanielEScherzer"
}
],
"license": "MIT",
"require": {
"mediawiki/mediawiki-codesniffer": "46.0.0",
"phpcsstandards/phpcsextra": "1.2.1",
"slevomat/coding-standard": "8.15.0",
"squizlabs/php_codesniffer": "3.11.3"
},
"require-dev": {
"phpunit/phpunit": "^12.0",
"php-parallel-lint/php-parallel-lint": "^1.4"
},
"autoload": {
"psr-4": {
"DanielEScherzer\\CommonPhpcs\\": "src/"
}
},
"scripts": {
"parallel-lint": "parallel-lint . --exclude vendor",
"phpcs": "phpcs -p -s",
"phpunit": "php -d extension=pcov.so -d pcov.enabled=1 -d pcov.directory=. vendor/bin/phpunit",
"lint": [
"@parallel-lint",
"@phpcs"
],
"test": [
"@phpunit",
"@lint"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}