-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
90 lines (90 loc) · 2.24 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
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
{
"name": "phauthentic/cognitive-code-analysis",
"license": "GPL-3.0-only",
"type": "project",
"require": {
"php": "^8.1",
"nikic/php-parser": "^5.1",
"symfony/console": "^7.1",
"symfony/config": "^7.1",
"symfony/yaml": "^7.1",
"symfony/dependency-injection": "^7.1",
"symfony/messenger": "^7.1"
},
"autoload": {
"psr-4": {
"Phauthentic\\CognitiveCodeAnalysis\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Phauthentic\\CognitiveCodeAnalysis\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "Florian Krämer"
}
],
"require-dev": {
"roave/security-advisories": "dev-latest",
"phpunit/phpunit": "^11.3",
"infection/infection": "^0.29.6",
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^1.11",
"squizlabs/php_codesniffer": "^3.10",
"symfony/var-dumper": "^7.1"
},
"config": {
"bin-dir": "bin",
"allow-plugins": {
"infection/extension-installer": true
}
},
"bin": [
"bin/phpcca"
],
"scripts": {
"test": [
"phpunit"
],
"infection": [
"infection"
],
"test-coverage": [
"phpunit --coverage-text"
],
"test-coverage-html": [
"phpunit --coverage-html tmp/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 tests/Benchmark/ --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"
]
}
}