-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
57 lines (57 loc) · 1.81 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
{
"name": "digitalrevolution/php-codesniffer-baseline",
"description": "Digital Revolution PHP_Codesniffer baseline extension",
"type": "composer-plugin",
"license": "MIT",
"minimum-stability": "stable",
"config": {
"sort-packages": true,
"process-timeout": 0,
"allow-plugins": {
"phpstan/extension-installer": true
},
"lock": false
},
"require": {
"php": ">=7.4",
"composer-plugin-api": "^1.0 || ^2.0",
"squizlabs/php_codesniffer": "^3.6"
},
"require-dev": {
"composer/composer": "^2.0",
"mikey179/vfsstream": "1.6.11",
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^1.4",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-strict-rules": "^1.1",
"phpstan/extension-installer": "^1.1",
"phpunit/phpunit": "^9.5",
"roave/security-advisories": "dev-latest"
},
"scripts": {
"run:plugin": "DR\\CodeSnifferBaseline\\Plugin\\Plugin::run",
"check": ["@check:phpstan", "@check:phpmd", "@check:phpcs"],
"check:phpstan": "phpstan analyse",
"check:phpmd": "phpmd src,tests text phpmd.xml.dist --suffixes php",
"check:phpcs": "phpcs src tests",
"fix": "@fix:phpcbf",
"fix:phpcbf": "phpcbf src tests",
"test": "phpunit",
"test:integration": "phpunit --testsuite integration",
"test:unit": "phpunit --testsuite unit"
},
"extra": {
"class": "DR\\CodeSnifferBaseline\\Plugin\\Plugin"
},
"autoload": {
"psr-4": {
"DR\\CodeSnifferBaseline\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DR\\CodeSnifferBaseline\\Tests\\Unit\\": "tests/Unit/",
"DR\\CodeSnifferBaseline\\Tests\\": "tests/"
}
}
}