-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcomposer.json
More file actions
99 lines (99 loc) · 2.62 KB
/
composer.json
File metadata and controls
99 lines (99 loc) · 2.62 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "phauthentic/cognitive-code-analysis",
"license": "GPL-3.0-only",
"type": "project",
"require": {
"php": "^8.1",
"nikic/php-parser": "^5.1",
"psr/cache": "^3.0",
"symfony/console": "^6.0||^7.0",
"symfony/config": "^6.0||^7.0",
"symfony/yaml": "^6.0||^7.0",
"symfony/dependency-injection": "^6.0||^7.0",
"symfony/messenger": "^6.0||^7.0"
},
"autoload": {
"psr-4": {
"Phauthentic\\CognitiveCodeAnalysis\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Phauthentic\\CognitiveCodeAnalysis\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "Florian Krämer"
}
],
"suggest": {
"ext-dom": "Required for some rules and code analysis features."
},
"require-dev": {
"ext-dom": "*",
"roave/security-advisories": "dev-latest",
"phpunit/phpunit": "^11.3",
"infection/infection": "^0.29.6",
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^2.1",
"squizlabs/php_codesniffer": "^3.10",
"symfony/var-dumper": "^7.3",
"phpbench/phpbench": "^1.4",
"slevomat/coding-standard": "^8.15"
},
"config": {
"bin-dir": "bin",
"allow-plugins": {
"infection/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"process-timeout": 0
},
"bin": [
"bin/phpcca"
],
"scripts": {
"test": [
"phpunit"
],
"infection": [
"infection"
],
"test-coverage": [
"phpunit --coverage-text --path-coverage"
],
"test-coverage-html": [
"phpunit --coverage-html tmp/coverage/ --path-coverage"
],
"cscheck": [
"phpcs src/ tests/ -s"
],
"csfix": [
"phpcbf src/ tests/"
],
"analyze": [
"phpstan analyse src/"
],
"analyse": [
"phpstan analyse src/"
],
"phpmd": [
"bin/phpmd ./src/ text phpmd.xml"
],
"benchmark": [
"bin/phpbench run benchmarks --report=aggregate"
],
"all": [
"@cscheck",
"@analyze",
"@phpmd",
"@test"
],
"build-phar": [
"if [ ! -f phive.phar ]; then wget -O phive.phar \"https://phar.io/releases/phive.phar\"; fi",
"if [ ! -f tools/box ]; then php phive.phar install humbug/box; fi",
"tools/box compile"
]
}
}