forked from sirbrillig/phpcs-changed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
44 lines (44 loc) · 1.3 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
{
"name": "sirbrillig/phpcs-changed",
"description": "Run phpcs on files, but only report warnings/errors from lines which were changed.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Payton Swick",
"email": "payton@foolord.com"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"test": "./vendor/bin/phpunit --color=always --verbose",
"lint": "./vendor/bin/phpcs -s PhpcsChanged bin tests index.php",
"phpstan": "./vendor/bin/phpstan analyze PhpcsChanged/"
},
"bin": [
"bin/phpcs-changed"
],
"autoload": {
"psr-4": {
"PhpcsChanged\\": "PhpcsChanged/"
},
"files": [
"PhpcsChanged/Cli.php",
"PhpcsChanged/SvnWorkflow.php",
"PhpcsChanged/GitWorkflow.php",
"PhpcsChanged/functions.php"
]
},
"require": {
"php": "^7.1 || ^8.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
"phpunit/phpunit": "^6.4 || ^9.5",
"squizlabs/php_codesniffer": "^3.2.1",
"sirbrillig/phpcs-variable-analysis": "^2.1.3",
"sirbrillig/phpcs-import-detection": "^1.1.1",
"phpstan/phpstan": "^0.12.33"
}
}