Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
64 lines (64 loc) · 1.6 KB
/
Copy pathcomposer.json
File metadata and controls
64 lines (64 loc) · 1.6 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
{
"name": "phptramp/phptramp",
"description": "Static analyzer that detects tramp data: parameters passed through chains of PHP methods that never use them.",
"license": "MIT",
"type": "library",
"keywords": [
"static analysis",
"code quality",
"tramp data",
"dev",
"ci"
],
"authors": [
{
"name": "Lars Pohlmann"
}
],
"require": {
"php": ">=8.2",
"nikic/php-parser": "^5.0"
},
"require-dev": {
"infection/infection": "^0.29.14 || ^0.34",
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^11.5 || ^12.0",
"squizlabs/php_codesniffer": "^3.13"
},
"autoload": {
"psr-4": {
"PhpTramp\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PhpTramp\\Tests\\": "tests/"
}
},
"bin": [
"bin/phptramp"
],
"scripts": {
"test": "phpunit",
"stan": "phpstan analyse --no-progress",
"cs": "phpcs",
"cs:fix": "phpcbf",
"md": "phpmd src text phpmd.xml.dist",
"check": [
"@cs",
"@stan",
"@md",
"@test"
],
"tramp": "@php bin/phptramp",
"infection": "infection --threads=max",
"infection:diff": "infection --git-diff-filter=AM --git-diff-base=origin/main --threads=max --ignore-msi-with-no-mutations"
},
"config": {
"allow-plugins": {
"infection/extension-installer": true
},
"sort-packages": true
}
}