-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcomposer.json
45 lines (45 loc) · 1.32 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
{
"name": "bear/qatools",
"description": "PHP QA Tools",
"keywords": [
"php",
"qa"
],
"license": "MIT",
"require": {
"php": "^7.4 || ^8.0",
"doctrine/coding-standard": "^9 || ^10.0 || ^11.0 || ^12.0",
"friendsofphp/php-cs-fixer": "^3.4",
"phploc/phploc": "^7.0",
"phpmd/phpmd": "^2.11",
"phpmetrics/phpmetrics": "^2.7",
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^9.6 || ^10.5 || ^11.3",
"psalm/plugin-phpunit": "^0.16 || ^0.19",
"squizlabs/php_codesniffer": "^3.5",
"vimeo/psalm": "^4.2 || ^5.25"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"test": "phpunit",
"tests": [
"@cs",
"@sa",
"@test"
],
"sa": [
"phpstan analyse --no-progress -c phpstan.neon",
"psalm --no-progress",
"phpmd src text ./phpmd.xml"
],
"coverage": "php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage",
"cs": "phpcs",
"cs-fix": "phpcbf",
"metrics": "phpmetrics --report-html=build/metrics --exclude=Exception src"
}
}