-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
57 lines (57 loc) · 1.92 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/phpunit-file-coverage-inspection",
"description": "Configurable phpunit file coverage inspection",
"type": "library",
"license": "MIT",
"minimum-stability": "stable",
"config": {
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"autoload": {
"psr-4": {
"DigitalRevolution\\CodeCoverageInspection\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DigitalRevolution\\CodeCoverageInspection\\Tests\\Functional\\": "tests/Functional/",
"DigitalRevolution\\CodeCoverageInspection\\Tests\\Unit\\": "tests/Unit/",
"DigitalRevolution\\CodeCoverageInspection\\Tests\\": "tests/"
}
},
"bin": ["bin/phpfci"],
"require": {
"php": ">=8.1",
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-xmlwriter": "*",
"symfony/console": "^6.2 || ^7.0"
},
"require-dev": {
"digitalrevolution/accessorpair-constraint": ">= 2.1.7",
"roave/security-advisories": "dev-latest",
"squizlabs/php_codesniffer": "^3.7",
"phpmd/phpmd": "^2.14",
"phpunit/phpunit": "^10.0 || ^11.2 || ^12.0",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-strict-rules": "^1.5",
"phpstan/extension-installer": "^1.3",
"mikey179/vfsstream": "^1.6.7"
},
"scripts": {
"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:functional": "phpunit --testsuite functional",
"test:unit": "phpunit --testsuite unit"
}
}