-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
62 lines (62 loc) · 1.74 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
58
59
60
61
62
{
"name": "digitalrevolution/utils",
"description": "A library for everyday use utility classes",
"type": "library",
"license": "MIT",
"minimum-stability": "stable",
"config": {
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"autoload": {
"psr-4": {
"DR\\Utils\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DR\\Utils\\Tests\\": "tests/",
"DR\\Utils\\Tests\\Unit\\": "tests/Unit/",
"DR\\Utils\\Tests\\Integration\\": "tests/Integration/"
}
},
"require": {
"php": ">=8.1"
},
"require-dev": {
"digitalrevolution/phpunit-file-coverage-inspection": "^v2.0.0",
"mikey179/vfsstream": "^1.6.11",
"nikic/php-parser": "^4.10",
"phpmd/phpmd": "^2.13",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-strict-rules": "^1.5",
"phpunit/phpunit": "^10.2",
"roave/security-advisories": "dev-latest",
"squizlabs/php_codesniffer": "^3.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:unit": "phpunit --testsuite unit"
},
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
}
}
}