-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
50 lines (50 loc) · 1.42 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": "tomasvotruba/cognitive-complexity",
"type": "phpstan-extension",
"description": "PHPStan rules to measure cognitive complexity of your classes and methods",
"license": "MIT",
"require": {
"php": "^8.3",
"phpstan/phpstan": "^2.0",
"nikic/php-parser": "^5.3"
},
"require-dev": {
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpunit/phpunit": "^11.5",
"symplify/easy-coding-standard": "^12.5",
"rector/rector": "^2.0",
"tracy/tracy": "^2.10",
"php-parallel-lint/php-parallel-lint": "^1.4",
"tomasvotruba/type-coverage": "^2.0",
"tomasvotruba/unused-public": "^2.0"
},
"autoload": {
"psr-4": {
"TomasVotruba\\CognitiveComplexity\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"TomasVotruba\\CognitiveComplexity\\Tests\\": "tests"
}
},
"scripts": {
"check-cs": "vendor/bin/ecs check --ansi",
"fix-cs": "vendor/bin/ecs check --fix --ansi",
"phpstan": "vendor/bin/phpstan --ansi",
"rector": "vendor/bin/rector --dry-run --ansi"
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"extra": {
"phpstan": {
"includes": [
"config/extension.neon"
]
}
}
}