-
Notifications
You must be signed in to change notification settings - Fork 8
/
composer.json
50 lines (50 loc) · 1.59 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
{
"name": "digitalrevolution/accessorpair-constraint",
"description": "Digital Revolution PHPUnit Constraint for accessorpairs",
"type": "library",
"license": "MIT",
"minimum-stability": "stable",
"config": {
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
},
"lock": false
},
"require": {
"php": ">=8.1",
"doctrine/inflector": "^2.0",
"phpdocumentor/type-resolver": "^1.9",
"phpunit/phpunit": "^10.0 || ^11.0"
},
"require-dev": {
"phpmd/phpmd": "@stable",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-strict-rules": "^1.0",
"roave/security-advisories": "dev-latest",
"squizlabs/php_codesniffer": "^3.6"
},
"autoload": {
"psr-4": {
"DigitalRevolution\\AccessorPairConstraint\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DigitalRevolution\\AccessorPairConstraint\\Tests\\": "tests/"
}
},
"scripts": {
"check": ["@check:phpstan", "@check:phpmd", "@check:phpcs"],
"check:phpstan": "phpstan analyse",
"check:phpmd": "phpmd src,tests text phpmd.xml.dist --suffixes php --exclude /tests/*/data/*",
"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"
}
}